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