RealGrid2 API
Interface
MultiCheckCellEditor

MultiCheckCellEditor

드롭 다운 목록에서 여러 항목들을 선택할 수 있는 편집기

Signature:

export interface MultiCheckCellEditor extends Omit<DropDownCellEditor, "type"> 

Extends: Omit<DropDownCellEditor, "type">

Remarks

셀에 저장되는 값의 각 value 를 구분하기 위한 구분자 지정은 편집기의 속성이 아닌 column.valueSeparator 에서 지정하며 기본값은 ',' 이다.

DropDownCellEditor 를 상속한다.

[상위 클래스]

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

PropertyModifiersTypeDescription
acceptTextstring확인 버튼 텍스트
allCheckTextstring모두 선택을 적용하는 버튼의 텍스트
cancelTextstring취소 버튼 텍스트
showAllCheckboolean모두 선택 버튼의 표시 여부
showButtonsboolean확인 / 취소 버튼 표시 여부
type"checklist"셀 편집기 종류: 여러 항목 선택 가능한 drop 다운

Properties Desc

acceptText

확인 버튼 텍스트

allCheckText

모두 선택을 적용하는 버튼의 텍스트

cancelText

취소 버튼 텍스트

showAllCheck

모두 선택 버튼의 표시 여부

showButtons

확인 / 취소 버튼 표시 여부

type

셀 편집기 종류: 여러 항목 선택 가능한 drop 다운