Using Drag and Drop
To rearrange rows, an end-user should drag a row header and drop it to the new position within the row header panel.
Rows can be rearranged by end-users in the following cases:
- the control’s VGridOptionsBehavior.DragRowHeaders and the dragged row’s VGridOptionsRow.AllowMove options are enabled;
- the Customization Form is shown. In this case, rows can be rearranged regardless of the option’s states mentioned above.
If the Customization Form is shown, users can hide desired rows by dragging their headers and dropping them to the Customization Form. Headers shown within the form can be then moved back to the control in order to make the corresponding rows visible.
Notes:
- The dragged row’s VGridOptionsRow.AllowMoveToCustomizationForm option must be enabled so that the row can be moved to the Customization Form.
- If the dragged row’s VGridOptionsRow.ShowInCustomizationForm option is disabled, its header is not shown within the Customization Form while the row is hidden.
Related Topics: