Skip to content

ColumnReorder

bitpshr edited this page Jan 25, 2013 · 8 revisions

ColumnReorder

The ColumnReorder extension adds the ability to reorder the columns of a grid via drag'n'drop operations on column headers.

In the case of more complex grid structures, note that reordering is only supported between columns within the same subrow or columnset.

Additional Column Definition Properties

This extension supports an additional reorderable property in column definitions; if explicitly set to false, that particular column's header node will not be treated as a viable DnD item.

Events

The ColumnReorder extension emits a dgrid-columnreorder event whenever the user triggers a column reorder operation. This event includes the following properties:

  • grid: The grid instance in which the reorder operation took place
  • subRow: The specific subrow in which the reorder operation took place, reflecting the new order
  • column: The column definition object representing the column which was reordered
Clone this wiki locally