Form
Represents a form that can be user-designed or edited.
Constructors
new Form()
new Form(
dart
):Form
Parameters
Parameter | Type |
---|---|
dart | any |
Returns
Source
Properties
Property | Type |
---|---|
dart | any |
Accessors
designMode
get
designMode():boolean
When in design mode, users can move form controls.
set
designMode(x
):void
Parameters
Parameter | Type |
---|---|
x | boolean |
Returns
boolean
Source
editable
get
editable():boolean
When in editable mode, users can edit field values.
set
editable(x
):void
Parameters
Parameter | Type |
---|---|
x | boolean |
Returns
boolean
Source
row
get
row():Row
Data frame row bound to the form.
set
row(row
):void
Parameters
Parameter | Type |
---|---|
row | Row |
Returns
Source
state
get
state():string
Serialized form content. Use it for persistence purposes.
set
state(s
):void
Parameters
Parameter | Type |
---|---|
s | string |
Returns
string
Source
Methods
forDataFrame()
static
forDataFrame(df
,options
?):Form
Creates a new grid.
Parameters
Parameter | Type |
---|---|
df | DataFrame |
options ? | object |
options.columns ? | string [] |