gridx
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

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

Event Summary

  • onMoved() Fired when column move is performed successfully

Attached Objects

Properties

columnMixin
Overrides _Module
grid
Overrides _Module

Methods

_moveComplete
Overrides _Module
ParameterTypeDescription
movedCols
target
_onKeyDown
Overrides _Module
ParameterTypeDescription
e
getAPIPath
Overrides _Module
move
Overrides _Module
Move some columns to the given target position
ParameterTypeDescription
columnIndexesInteger[]The current indexes of columns to move
targetIntegerThe moved columns will be inserted before the column with this index.
moveRange
Overrides _Module
Move a range of columns to a given target position
ParameterTypeDescription
startIntegerThe index of the first column to move
countIntegerThe count of columns to move
target
preload
Overrides _Module

Events

onMoved
Overrides _Module
Fired when column move is performed successfully