@serenity-is/sleekgrid / FloatCellEdit

Class: FloatCellEdit

Defined in: src/editors/editors.tsx:100

Extends

Constructors

Constructor

new FloatCellEdit(args): FloatCellEdit

Defined in: src/editors/editors.tsx:9

Parameters

args

EditorOptions

Returns

FloatCellEdit

Inherited from

TextCellEdit.constructor

Properties

_args

protected _args: EditorOptions

Defined in: src/editors/editors.tsx:7

Inherited from

TextCellEdit._args


_defaultValue

protected _defaultValue: any

Defined in: src/editors/editors.tsx:6

Inherited from

TextCellEdit._defaultValue


_input

_input: HTMLInputElement

Defined in: src/editors/editors.tsx:70

Inherited from

TextCellEdit._input


AllowEmptyValue

static AllowEmptyValue: boolean = false

Defined in: src/editors/editors.tsx:102


DefaultDecimalPlaces

static DefaultDecimalPlaces: number = null

Defined in: src/editors/editors.tsx:103

Methods

applyValue()

applyValue(item, state): void

Defined in: src/editors/editors.tsx:45

Parameters

item

any

state

any

Returns

void

Inherited from

TextCellEdit.applyValue


destroy()

destroy(): void

Defined in: src/editors/editors.tsx:16

Returns

void

Inherited from

TextCellEdit.destroy


focus()

focus(): void

Defined in: src/editors/editors.tsx:20

Returns

void

Inherited from

TextCellEdit.focus


getDecimalPlaces()

getDecimalPlaces(): number

Defined in: src/editors/editors.tsx:105

Returns

number


getValue()

getValue(): string

Defined in: src/editors/editors.tsx:24

Returns

string

Inherited from

TextCellEdit.getValue


init()

init(): void

Defined in: src/editors/editors.tsx:72

Returns

void

Inherited from

TextCellEdit.init


isValueChanged()

isValueChanged(): boolean

Defined in: src/editors/editors.tsx:49

Returns

boolean

Inherited from

TextCellEdit.isValueChanged


loadValue()

loadValue(item): void

Defined in: src/editors/editors.tsx:114

Parameters

item

any

Returns

void

Overrides

TextCellEdit.loadValue


serializeValue()

serializeValue(): any

Defined in: src/editors/editors.tsx:129

Returns

any

Overrides

TextCellEdit.serializeValue


setValue()

setValue(val): void

Defined in: src/editors/editors.tsx:28

Parameters

val

string

Returns

void

Inherited from

TextCellEdit.setValue


validate()

validate(): ValidationResult

Defined in: src/editors/editors.tsx:148

Returns

ValidationResult

Overrides

TextCellEdit.validate