Class wm.LiveForm
Extends
wm.LiveFormBase.
Defined in: LiveForm.js.
Constructor Attributes | Constructor Name and Description |
---|---|
LiveForm displays a set of editors for a data type.
|
- Fields borrowed from class wm.LiveFormBase:
- dataOutput, dataSet
- Fields borrowed from class wm.Control:
- disabled, height, showing, width
- Fields borrowed from class wm.Component:
- name, owner
Method Attributes | Method Name and Description |
---|---|
Clear the form's editors and make them editable.
|
|
Make the form's editors and editable.
|
|
Cancels an edit by restoring the editors to the data from the dataSet property.
|
|
Performs a delete operation based on the data in the
dataOutput property.
|
|
Performs an insert operation based on the data in the
dataOutput property.
|
|
Performs an update operation based on the data in the
dataOutput property.
|
- Methods borrowed from class wm.LiveFormBase:
- clearData
- Methods borrowed from class wm.Control:
- addUserClass, boundsResized, disable, enable, hide, removeUserClass, setDisabled, show, updateBounds
- Methods borrowed from class wm.Component:
- constructor, createComponent, destroy, getId, getRuntimeId
- Methods borrowed from class wm.Object:
- extendSchema, getPropertyType, getPropFlags, getValue, listDataProperties, listProperties, setValue, toString
Class Detail
wm.LiveForm()
LiveForm displays a set of editors for a data type.
LiveForm's editors display the data in its dataSet property.
Output data is provided via the dataOutput property.
LiveForm can directly perform operations on the dataOuput without the need for additional services,
it generates a set of editors automatically.
An additional editPanel widget is added by default so that operations are available without additional user setup.
Report errata or suggestions for
LiveForm.
Method Detail
beginDataInsert()
Clear the form's editors and make them editable.
Fires onBeginInsert event.
Report errata or suggestions for
beginDataInsert.
beginDataUpdate()
Make the form's editors and editable.
Fires onBeginUpdate event.
Report errata or suggestions for
beginDataUpdate.
cancelEdit()
Cancels an edit by restoring the editors to the data from the dataSet property.
Report errata or suggestions for
cancelEdit.
deleteData()
Performs a delete operation based on the data in the
dataOutput property.
Report errata or suggestions for
deleteData.
insertData()
Performs an insert operation based on the data in the
dataOutput property.
Report errata or suggestions for
insertData.
updateData()
Performs an update operation based on the data in the
dataOutput property.
Report errata or suggestions for
updateData.