Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGanttControlChartViewSheetOptions.AllowTaskMove Property

Specifies if you can use drag-and-drop operations to rearrange tasks in a sheet.

#Declaration

Delphi
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:

  1. Click a row’s number (the first column) to select a row.
  2. 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