@gridkitjs/react v0.2.0
Minor Changes#
-
7f0645b:
DataGridcan reorder its columns by drag and drop. SetreorderableColumnsto let the user drag a header to a new position; a column may opt out withreorderable: falseon its definition. Dragging a header anywhere on the cell starts the move, a copy of the header follows the pointer, and the side of the header the pointer is nearer to decides whether the column lands before or after it.Order is uncontrolled and mirrors sizing:
defaultColumnOrdersets the order to start in, andonColumnOrderChangereports each drop that changes it. A focused header also moves withCtrl+ArrowLeft/Ctrl+ArrowRight.Turning
reorderableColumnsoff stops further dragging but leaves an order the user already made in place.
Patch Changes#
- Updated dependencies [7f0645b]
- @gridkitjs/core@0.2.0