Class idx.grid.cells.RowSelector


Extends idx.grid.cells.CheckBox.
Always shows a check box in each cell to select the row.
Defined in: <idx\grid\cells.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 
Fields borrowed from class idx.grid.cells.CheckBox:
allCheckable, labelText

Method Summary

Method Attributes Method Name and Description
 
apply(index)
Applies "checked" attribute of the check box to the row selection.
 
Installs the event handler for selection change.
 
get(index)
Returns true if the row is selected to check the check box.
 
Updates "checked" attribute of all widgets based on the selection
Methods borrowed from class idx.grid.cells.CheckBox:
checkAll, isAllChecked

Constructor Detail

idx.grid.cells.RowSelector()

Method Detail

apply(index)

Applies "checked" attribute of the check box to the row selection.
Parameters:
{Number} index

{Widget} formatter()

Installs the event handler for selection change.
Returns:
{Widget}

{Boolean} get(index)

Returns true if the row is selected to check the check box.
Parameters:
{Number} index
Returns:
{Boolean}

render()

Updates "checked" attribute of all widgets based on the selection