10041 : Context menu per time item

…if (e.Button==MouseButtons.Right)       {         if (gantt1.TimeItemFromPoint(e.X,e.Y)!=null)         {           GanttRow gr=gantt1.GanttRowFromY(e.Y);           if (gr!=null)           {             menuItem1.Text=gr.GridNode.GetCell(0).Content.Value.ToString();                        contextMenu1.Show(gantt1.TimeItemArea,new Point(e.X,e.Y));           }         }       }     }… Continue reading

10033 : Id like to put my own labels inside the headers of each column.

…property;             GridColumn c_st=gantt1.Grid.Columns.AddNew(CellType.SingleText);             GridColumn c_mt=gantt1.Grid.Columns.AddNew(CellType.MultiText);             GridColumn c_td=gantt1.Grid.Columns.AddNew(CellType.TimeDate);             c_st.Title=“SingleText”;             c_mt.Title=“MultiText”;             c_td.Title=“TimeDate”; You can then control how the column headers are rendered by assigning CellLayouts. The… Continue reading

10028 : It is possible to localize the Calendar (month & day) name in the GTP.NET? Thanks

…    }     private void Form1_Load(object sender, System.EventArgs e)     {       comboBoxCulture.Items.Clear();       foreach ( CultureInfo ci in CultureInfo.GetCultures( CultureTypes.SpecificCultures ) )        {          comboBoxCulture.Items.Add(ci.Name);       }    … Continue reading

10026 : Can you make a TimeItem read-only? We want to specifically block off certain areas of time by using the multilayering effect. But prevent the user resizing or moving the bottom layered timeitem.

…Answer You have full control on manipulation with the TimeItemLayout. For the readonly time items you want to assign a TimeItemLayout that has set the following properties: AllowChangeRow=false AllowMove=false AllowResizeEast=false AllowResizeWest=false… Continue reading