Skip to content
Jump to…

Editors

Registry 8

Text

type Editors.Text

Integer

type Editors.Integer

Float

type Editors.Float

Flatpickr

type Editors.Flatpickr

YesNoSelect

type Editors.YesNoSelect

Checkbox

type Editors.Checkbox

PercentComplete

type Editors.PercentComplete

LongText

type Editors.LongText

TextEditor 11

Contains basic SlickGrid editors.

init

init()

onChange

onChange()

destroy

destroy()

focus

focus()

getValue

getValue()

setValue

setValue(val: string)
ParameterTypeDescription
valstring

loadValue

loadValue(item: any)
ParameterTypeDescription
itemany

serializeValue

serializeValue()

applyValue

applyValue(item: any, state: any)
ParameterTypeDescription
itemany
stateany

isValueChanged

isValueChanged()

validate

validate()

IntegerEditor 9

init

init()

onChange

onChange()

destroy

destroy()

focus

focus()

loadValue

loadValue(item: any)
ParameterTypeDescription
itemany

serializeValue

serializeValue()

applyValue

applyValue(item: any, state: any)
ParameterTypeDescription
itemany
stateany

isValueChanged

isValueChanged()

validate

validate()

FloatEditor 10

init

init()

onChange

onChange()

destroy

destroy()

focus

focus()

getDecimalPlaces

getDecimalPlaces()

loadValue

loadValue(item: any)
ParameterTypeDescription
itemany

serializeValue

serializeValue()

applyValue

applyValue(item: any, state: number | string)
ParameterTypeDescription
itemany
statenumber | string

isValueChanged

isValueChanged()

validate

validate()

FlatpickrEditor 10

init

init()

destroy

destroy()

show

show()

hide

hide()

focus

focus()

loadValue

loadValue(item: any)
ParameterTypeDescription
itemany

serializeValue

serializeValue()

applyValue

applyValue(item: any, state: any)
ParameterTypeDescription
itemany
stateany

isValueChanged

isValueChanged()

validate

validate()

YesNoSelectEditor 9

init

init()

onChange

onChange()

destroy

destroy()

focus

focus()

loadValue

loadValue(item: any)
ParameterTypeDescription
itemany

serializeValue

serializeValue()

applyValue

applyValue(item: any, state: any)
ParameterTypeDescription
itemany
stateany

isValueChanged

isValueChanged()

validate

validate()

CheckboxEditor 10

init

init()

onChange

onChange()

destroy

destroy()

focus

focus()

loadValue

loadValue(item: any)
ParameterTypeDescription
itemany

preClick

preClick()

serializeValue

serializeValue()

applyValue

applyValue(item: any, state: any)
ParameterTypeDescription
itemany
stateany

isValueChanged

isValueChanged()

validate

validate(): EditorValidationResult

returns EditorValidationResult

PercentCompleteEditor 11

sliderInputHandler

sliderInputHandler(e: MouseEvent & { target: HTMLButtonElement })
ParameterTypeDescription
eMouseEvent & { target: HTMLButtonElement }

sliderChangeHandler

sliderChangeHandler()

init

init()

onClick

onClick(e: MouseEvent & { target: HTMLButtonElement })
ParameterTypeDescription
eMouseEvent & { target: HTMLButtonElement }

destroy

destroy()

focus

focus()

loadValue

loadValue(item: any)
ParameterTypeDescription
itemany

serializeValue

serializeValue()

applyValue

applyValue(item: any, state: any)
ParameterTypeDescription
itemany
stateany

isValueChanged

isValueChanged()

validate

validate(): EditorValidationResult

returns EditorValidationResult

LongTextEditor 15

init

init()

onChange

onChange()

handleKeyDown

handleKeyDown(e: KeyboardEvent & { target: HTMLInputElement })
ParameterTypeDescription
eKeyboardEvent & { target: HTMLInputElement }

save

save()

cancel

cancel()

hide

hide()

show

show()

position

position(position: ElementPosition)
ParameterTypeDescription
positionElementPosition

destroy

destroy()

focus

focus()

loadValue

loadValue(item: any)
ParameterTypeDescription
itemany

serializeValue

serializeValue()

applyValue

applyValue(item: any, state: any)
ParameterTypeDescription
itemany
stateany

isValueChanged

isValueChanged()

validate

validate()