STDynamicForm extends DynamicForm class allows to switch edit mode:
- single field edit mode
- all fields edit mode
Properties: - editByField boolean
switches between edit modes
default to false (all fields are editable)
Methods: - saveByFieldFunction (form, item)
this allows to override the default impelementation of save action in single field edit mode - cancelFieldEditingFunction (form, item)
this allows to override the default impelementation of cancel edit action in single field edit mode
For a fine grained control both methods can be set at field level too
See attachments for the class and example.