CheckboxCell template
This cell type displays checkbox input. This template has disabled edit mode.
Implementation
Open
CheckboxCell
implementation on github
Interface declaration
interface CheckboxCell extends Cell {
type: 'checkbox';
checked: boolean;
checkedText?: string;
uncheckedText?: string;
}
Property name | Type | Property description |
---|---|---|
type | checkbox | Type of cell template |
checked | boolean | Current state of checked attribute in input element |
checkedText? | string | Text of “checked text input”, used while getting compatible cell, by default: 1 |
uncheckedText? | string | Text of “unchecked text input”, used while getting compatible cell, by default: “ (empty string) |