This sample demonstrates reordering of the Grid columns. Select column name and index from properties panel to reorder the columns. You can also reorder columns by simply dragging and dropping into the desired column position.
Reordering can be enabled by setting the
allowReordering property as true. Reordering can be done by dragging and dropping the column header from one index to another
index within the Grid.
The location in which the column to be placed will be indicated by two arrows symbols.
In this demo, you can either reorder columns by drag and drop or by selecting column name and column index to reorder from the dropdown.