10340 : Moving many time items at a time

Question

I’ve a set of timeitems that when one of them is moved with mouse the other ones must be translated proportionally. it’s possible to show the destination position of the items when we are dragging it (not only the one catched by the mouse cursor) ?

Answer

The Gantt component handles multi select, so if a user holds the ctrl key while clicking the selection is extended with more time items. When many time items are selected and one of them are dragged, all the other ones follow.

So what you can do is to programatically set the TimeItem.Selected property to true to all the time items you want to be moved as a group.

Leave a Reply