SelectAllCheckboxGroup Class
All checkboxes can be selected and a select-all checkbox is available to check all. This check-all box is automatically changed if any other checkbox changes state.
Constructor
Item Index
Methods
allChecked
()
Boolean
Returns:
Boolean:
true
if all checkboxes are checked
allDisabled
()
Boolean
Returns:
Boolean:
true
if all checkboxes are disabled
allUnchecked
()
Boolean
Returns:
Boolean:
true
if all checkboxes are unchecked
checkboxChanged
(
-
cb
Call this if you modify the checkbox programmatically, since that will not fire a click event.
Parameters:
-
cb
Node | Stringcheckbox that was modified
enforceConstraints
(
-
cb_list
-
index
Parameters:
-
cb_list
String | Object | ArrayThe list of checkboxes
-
index
IntThe index of the checkbox that changed
splice
(
-
start
-
delete_count
-
cb_list
Same functionality as Array.splice()
. Operates on the
list of managed checkboxes.
toggleSelectAll
()
Toggle the setting of the "select all" checkbox.