TdxGanttControlChartViewSheetOptions.AllowTaskMove Property
Specifies if you can use drag-and-drop operations to rearrange tasks in a sheet.
Declaration
property AllowTaskMove: Boolean read; write; default True;
Property Value
Type | Default | Description |
---|---|---|
Boolean | True | True if users can drag and drop tasks in a sheet; otherwise, False. |
Remarks
The control allows a user to drag a row and change the a task position. Follow steps below to do this:
- Click a row’s number (the first column) to select a row.
- Drag and drop the selected row to the target position.
Set this property to False to maintain the row order in a sheet.
A task includes the following events that allow you to respond to a task row drag-and-drop operation:
Note
The control throws an exception if a row move operation creates a circular link between tasks. For instance, when you move a task to the summary to which the task is already connected.
The AllowTaskMove property’s default value is True.
See Also