Skip to main content

Form

Represents a form that can be user-designed or edited.

Constructors

new Form()

new Form(dart): Form

Parameters

ParameterType
dartany

Returns

Form

Source

src/grid.ts:813

Properties

PropertyType
dartany

Accessors

designMode

get designMode(): boolean

When in design mode, users can move form controls.

set designMode(x): void

Parameters

ParameterType
xboolean

Returns

boolean

Source

src/grid.ts:827


editable

get editable(): boolean

When in editable mode, users can edit field values.

set editable(x): void

Parameters

ParameterType
xboolean

Returns

boolean

Source

src/grid.ts:823


row

get row(): Row

Data frame row bound to the form.

set row(row): void

Parameters

ParameterType
rowRow

Returns

Row

Source

src/grid.ts:831


state

get state(): string

Serialized form content. Use it for persistence purposes.

set state(s): void

Parameters

ParameterType
sstring

Returns

string

Source

src/grid.ts:835

Methods

forDataFrame()

static forDataFrame(df, options?): Form

Creates a new grid.

Parameters

ParameterType
dfDataFrame
options?object
options.columns?string[]

Returns

Form

Source

src/grid.ts:818