RealGrid2 API
Interface
MultiCheckCellEditor

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

PropertyTypeDescription
acceptTextstringOK button text
allCheckTextstringThe text of the button that applies selection to all
cancelTextstringCancel button text
showAllCheckbooleanVisibility of Select All button
showButtonsbooleanConfirm/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"