Options

Summary

Option Description
columns.checkboxes.selectRow Enables / disables row selection
columns.checkboxes.selectAll Enable / disable “select all” control in the header
columns.checkboxes.selectAllPages Enable / disable ability to select checkboxes from all pages
columns.checkboxes.selectCallback Checkbox select/deselect callback
columns.checkboxes.selectAllCallback “Select all” control select/deselect callback
columns.checkboxes.selectAllRender “Select all” control markup

Details

columns.checkboxes.selectRow
Enables / disables row selection.

Type:
Boolean

Default:
false

columns.checkboxes.selectAll
Enables / disables “select all” control in the header.

Type:
Boolean

Default:
true

columns.checkboxes.selectAllPages
Enables / disables ability to select checkboxes from all pages.

Please note that ability to select checkboxes from all pages is only available in the client-side processing mode. In server-side processing mode only current page checkboxes would be selected when user clicks on “select all” control in the header.

Type:
Boolean

Default:
true

columns.checkboxes.selectCallback
Checkbox select/deselect callback.

Type:
Function

Parameters:

Name Type
1. nodes Array
List of cell nodes td containing checkboxes.
2. selected Boolean
Flag indicating whether checkbox has been checked.

Default:
null

Available Since:
Version 1.2

columns.checkboxes.selectAllCallback
“Select all” control select/deselect callback

Type:
Function

Parameters:

Name Type
1. nodes Array
List of cell nodes td containing checkboxes.
2. selected Boolean
Flag indicating whether checkbox has been checked.
3. indeterminate Boolean
Flag indicating whether “Select all” checkbox has indeterminate state.

Default:
null

Available Since:
Version 1.2

columns.checkboxes.selectAllRender
“Select all” control markup.

Type:
String

Default:
<input type="checkbox">

Available Since:
Version 1.2.8