Sencha Documentation

A selection model that renders a column of checkboxes that can be toggled to select or deselect rows. The default mode for this selection model is MULTI. The selection model will inject a header for the checkboxes in the first view and according to the 'injectCheckbox' configuration.

Config Options

 
checkOnly : Boolean
true if rows can only be selected by clicking on the checkbox column (defaults to false).
true if rows can only be selected by clicking on the checkbox column (defaults to false).
 
enableKeyNav : Boolean
Turns on/off keyboard navigation within the grid. Defaults to true.
Turns on/off keyboard navigation within the grid. Defaults to true.
 
Instructs the SelectionModel whether or not to inject the checkbox header automatically or not. (Note: By not placing...
Instructs the SelectionModel whether or not to inject the checkbox header automatically or not. (Note: By not placing the checkbox in manually, the grid view will need to be rendered 2x on initial render.) Supported values are a Number index, false and the strings 'first' and 'last'. Default is 0.

Methods

 
Retrieve a configuration to be used in a HeaderContainer. This should be used when injectCheckbox is set to false.
Retrieve a configuration to be used in a HeaderContainer. This should be used when injectCheckbox is set to false.
 
Toggle between selecting all and deselecting all when clicking on a checkbox header.
Toggle between selecting all and deselecting all when clicking on a checkbox header.