Function
A handy way for adding check boxe/radio button for rows, and selecting rows by swiping(or keyboard)
For better rendering performance, div(images) are used to simulate radio button|check boxes
<div dojoType="dojox.grid.EnhancedGrid" plugins="{indirectSelection: true}" ...></div> or <div dojoType="dojox.grid.EnhancedGrid" plugins="{indirectSelection: {name: 'xxx', width:'30px', styles:'text-align: center;'}}" ...></div>
String
Plugin name
Function
Add indirectSelection cell(mapped to a column of radio button|check boxes)
Function
Function
Common attributes & functions for row selectors(Radio|CheckBox)
String
Input type - Radio|CheckBox
Object
Cache div refs of radio|checkbox to avoid querying each time
Object
Cache index of disabled rows
Boolean
Marker of indirectSelection cell(column)
Array
List of all connections.
Array
List of all subscribes.
String
Checked character for high contrast mode
String
Unchecked character for high contrast mode
Function
Overwritten, see dojox.grid.cells._Widget
Function
Overwritten, see dojox.grid.cells._Widget Simply return, no action
Function
Overwritten, see dojox.grid.cells._Widget
Function
Row index
True - checked | False - unchecked
toggle checked | unchecked state for given row
Function
True - disabled | False - enabled
toggle disabled | enabled state for given row idx: Integer Row index
Function
Check if one row is disabled
Function
When mouse click on the selector cell, select/deselect the row.
Function
Key up event
Event handler for key up event - from dojox.grid.enhanced._Events.dokeyup()
Function
Target row
Set focus to given row
Function
Row index
Column index
Set focus to the ending grid cell(rowIndex,cellIndex) when swipe selection finished
Function
Use grid's native selection
Function
Triggered when a row is selected
Function
Triggered when a row is deselected
Function
Clear cache when row is re-built.
Function
Change css styles for checked | unchecked
Function
Change css styles for disabled | enabled
Function
Find selector for given row caching it if 1st time found
Function
Index of destroyed page
Explicitly empty map cache when a page destroyed See dojox.grid._Scroller.invalidatePageNode()
Function
Function
IndirectSelection cell(column) for single selection mode, using styles of dijit.form.RadioButton
Function
Event fired on the target row
Select the target row
Function
Indirect selection cell for multiple or extended mode, using dijit.form.CheckBox
Integer
Start row index for swipe selection
Integer
Max row index for swipe selection
Boolean
new state for selection
Integer
Row index for last click, used for range selection via Shift + click
Boolean
Whether toggle all has been triggered or not
Function
Function
Decorated event object which contains reference to grid, cell, and rowIndex
Event fired when mouse moves over a data row(outside of this column). - from dojox.grid.enhanced._Events.onRowMouseOver()
Function
Mouse up event
Event handler for mouse up event - from dojo.doc.domouseup()
Function
Key up event
Event handler for key up event - from dojox.grid.enhanced._Events.dokeyup()
Function
Index of the start row
Initialize parameters to start a new swipe selection
Function
Event of the current row,
Row index delta, used for swipe selection via Shift + Arrow key 0: not via key, -1 : Shift + Up, 1 : Shift + Down
Update row selections, fired during a swipe selection
Function
Row offset, used for swipe selection via Shift + Cursor -1 : Shift + Up, 1 : Shift + Down
Event of the current row,
Update row selections, fired when Shift + Cursor is used for swipe selection See dojox.grid.enhanced._Events.onKeyDown
Function
Reset parameters to end a swipe selection
Function
Check if during a swipe selection return: Boolean Whether in swipe selection
Function
Overwritten
Function
Event fired on the target row
Select the target row or range or rows
Function
Overwritten
Function
Add selector in column header for selecting|deselecting all
Function
Toggle state for head selector
Function
Update header selector anytime selection changed
Function
Overwritten
Object
Object
Object
Object