10530 : In gantt.net it is possible to move a timeitem by code(programmatically)?

Question

In gantt.net it is possible to move a timeitem by code(programmatically) from a ganttrow to the other one?

Answer

Yes. You do it by removing the time item from the old layer and add it to the new one:

timeitem.Layer.Remove(timeitem);
newGanttRow.Layers[theLayerIndex].Add(timeitem);

 

Leave a Reply