gridx.modules.extendedSelect.Column
Object » _Base » gridx.modules.extendedSelect.Column
dojo.require("gridx.modules.extendedSelect.Column");
Defined in gridx/modules/extendedSelect/Column.js
This module provides an advanced way for selecting columns by clicking, swiping, SPACE key, or CTRL/SHIFT CLICK to select multiple columns.
Examples:
Example 1
1. Use select api on column object obtained from grid.column(i)
grid.column(1).select();
grid.column(1).deselect();
grid.column(1).isSelected();
2. Use select api on select.row module
grid.select.column.selectById(columnId);
grid.select.column.deSelectById(columnId);
grid.select.column.isSelected(columnId);
grid.select.column.getSelected();//[]
grid.select.column.clear();
Property Summary
- columnMixin A map of functions to be mixed into grid column object, so that we can use select api on column object directly - grid.column(1).select() | deselect() | isSelected();
- grid
Method Summary
- _addToSelected(start, end, toSelect)
- _beginAutoScroll()
- _doHighlight(target, toHighlight)
- _endAutoScroll()
- _focus(target)
- _init()
- _isSelected(target)
- _markById(args, toSelect)
- _markByIndex(args, toSelect)
- _onMoveToHeaderCell(columnId, e)
- _onRender(start, count)
- clear(silent) Deselected all selected columns;
- deSelectByIndex(columnIndex) Deselect a column by index.
- deselectById(columnId) Deselect a column by id.
- getSelected() Get id array of all selected columns
- isSelected() Check if the given column(s) are all selected.
- selectById(columnId) Select a column by id.
- selectByIndex(columnIndex) Select a column by index
Attached Objects
Properties
Overrides _Base
A map of functions to be mixed into grid column object, so that we can use select api on column object directly
- grid.column(1).select() | deselect() | isSelected();