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

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

  • grid
  • rowMixin 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();

Method Summary

Event Summary

Attached Objects

Properties

grid
Overrides _RowCellBase
rowMixin
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();

Methods

_addToSelected
Overrides _RowCellBase
ParameterTypeDescription
start
end
toSelect
_beginAutoScroll
Overrides _RowCellBase
_doHighlight
Overrides _RowCellBase
ParameterTypeDescription
target
toHighlight
_end
Overrides _RowCellBase
_endAutoScroll
Overrides _RowCellBase
_focus
Overrides _RowCellBase
ParameterTypeDescription
target
_init
Overrides _RowCellBase
_isSelected
Overrides _RowCellBase
ParameterTypeDescription
target
_markById
Overrides _RowCellBase
ParameterTypeDescription
args
toSelect
_markByIndex
Overrides _RowCellBase
ParameterTypeDescription
args
toSelect
_onMark
Overrides _RowCellBase
ParameterTypeDescription
id
toMark
oldState
type
_onMoveToCell
Overrides _RowCellBase
ParameterTypeDescription
rowVisIndex
colIndex
e
_onMoveToRowHeaderCell
Overrides _RowCellBase
ParameterTypeDescription
rowVisIndex
e
_onRender
Overrides _RowCellBase
ParameterTypeDescription
start
count
clear
Overrides _RowCellBase
Deselected all selected rows;
ParameterTypeDescription
silent
deSelectByIndex
Overrides _RowCellBase
Deselect a row by index.
ParameterTypeDescription
rowIndex
deselectById
Overrides _RowCellBase
Deselect a row by id.
ParameterTypeDescription
rowId
getSelected
Overrides _RowCellBase
Get id array of all selected rows
isSelected
Overrides _RowCellBase
Check if the given rows are all selected.
selectById
Overrides _RowCellBase
Select a row by id.
ParameterTypeDescription
rowId
selectByIndex
Overrides _RowCellBase
Select a row by index
ParameterTypeDescription
rowIndex

Events

onHighlightChange
Overrides _RowCellBase