MultiCheckCellEditor
Editor that allows multiple selections from drop-down lists
Signature:
export interface MultiCheckCellEditor extends Omit<DropDownCellEditor, "type">
Extends: Omit<DropDownCellEditor, "type">
Remarks
The separator designation to distinguish each value stored in a cell is specified in column.valueSeparator, not in the editor's properties, and the default value is ','.
Inherits DropDownCellEditor.
[Superclass]
CellEditor - TextCellEditor - DropDownCellEditor
Example
//string type
column.editor = "checklist"
// object type
column.editor = {
type: "checklist",
values: ["VINET", "TOMSP", "VICTE"],
labels: ['label1', 'label2', 'label3'],
displayLabels: "valueLabel",
textReadOnly: true;
showButtons: true
}
Properties
Property | Type | Description |
---|---|---|
acceptText | string | OK button text |
allCheckText | string | The text of the button that applies selection to all |
cancelText | string | Cancel button text |
showAllCheck | boolean | Visibility of Select All button |
showButtons | boolean | Confirm/Cancel button visibility |
type | "checklist" | Cell editor type: drop-down with multiple selections |
Properties Desc
acceptText
OK button text
Type
- string
allCheckText
The text of the button that applies selection to all
Type
- string
cancelText
Cancel button text
Type
- string
showAllCheck
Visibility of Select All button
Type
- boolean
showButtons
Confirm/Cancel button visibility
Type
- boolean
type
Cell editor type: drop-down with multiple selections
Type
- "checklist"