10744 : I have use two layers in every gantt row, how can I sync movement of time items?

…how to set up some LinkActions:       gantt1.Grid.RootNodes[2].GetCell(0).Content.Value=“Third row, use link action, and invisible link”;       gr=GanttRow.FromGridNode(gantt1.Grid.RootNodes[2]);       til1=gantt1.TimeItemLinks.AddLink(gr.Layers[0][0],gr.Layers[0][1]);       til2=gantt1.TimeItemLinks.AddLink(gr.Layers[0][1],gr.Layers[0][2]);             til1.Action=TimeItemLinkAction.PushForward;       til2.Action=TimeItemLinkAction.PushForward;            til1.TimeItemLinkDrawStyle=TimeItemLinkDrawStyle.Invisible;       til2.TimeItemLinkDrawStyle… Continue reading

10892 : I have difficulties with adding links to my Gantt (Databound).

…owner del link da creare;         stopItemRow = ((DataRowView)((Pair)endItem.UserReference).First).Row;         startId = Convert.ToInt32(startItemRow[“ID”]);         stopId = Convert.ToInt32(stopItemRow[“ID”]);                   row = chartData.Tables[“link”].NewRow();         row[“id”] = ++dataRowCount;         row[“owner”] =… Continue reading

10969 : The OnTimeItemAreaMouseWheel is not being called at all when I scroll the wheel over the TimeItemArea?

…into a permanent solution but in the mean time add a Focus call in mouse down: gantt1.OnTimeItemAreaMouseDown += new MouseEventHandler(gantt1_OnTimeItemAreaMouseDown); void gantt1_OnTimeItemAreaMouseDown(object sender, MouseEventArgs e) {   gantt1.TimeItemArea.Focus(); }  … Continue reading

11010 : Is there a way to show more than one header-line (more than one column) and / or mantain the Cell layout in the header?

…the CellLayout of your choice. The header cells use the HeaderBackgroundColor, HeaderBackgroundGradiantColor  properties for colors, besides that they work the same way.< ?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” />… Continue reading

10944 : gridNode.Expanded = true doesnt seem to be work in Gantt_ASP?

…collapse appear not to work)        Gantt_ASP1.Gantt.Grid.Refresh(); // Makesure the grid is rendered and the datasources get initiated       foreach (GridNode gn in Gantt_ASP1.Gantt.Grid.RootNodes)       {         Gantt_ASP1.SetExpandedStatusForGridNode(gn,true);       }… Continue reading

11061 : Multiselect in the TimeItemArea

…gantt1_OnTimeItem_SelectionChanged(Gantt aGantt, TimeItemEventArgs e)     {       if (e.TimeItem.Selected)       {         foreach(TimeItem ti in gantt1.GetSelectedTimeItems())         {           if (ti!=e.TimeItem)             ti.Selected=false;         }       }     }  … Continue reading