gridx.modules.move.Column
Object » _Module » gridx.modules.move.Column
dojo.require("gridx.modules.move.Column");
Defined in gridx/modules/move/Column.js
This module does not include any UI. So different kind of column dnd UI implementations can be built upon this module. But this module does provide a keyboard support for reordering columns. When focus is on a column header, pressing CTRL+LEFT/RIGHT ARROW will move the column around within grid.
Property Summary
Method Summary
- _moveComplete(movedCols, target)
- _onKeyDown(e)
- getAPIPath()
- move(columnIndexes, target) Move some columns to the given target position
- moveRange(start, count, target) Move a range of columns to a given target position
- preload()
Event Summary
- onMoved() Fired when column move is performed successfully
Attached Objects
Properties
Methods
Overrides _Module
Move some columns to the given target position
Parameter | Type | Description |
---|---|---|
columnIndexes | Integer[] | The current indexes of columns to move |
target | Integer | The moved columns will be inserted before the column with this index. |
Overrides _Module
Move a range of columns to a given target position
Parameter | Type | Description |
---|---|---|
start | Integer | The index of the first column to move |
count | Integer | The count of columns to move |
target |