Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

STDynamicForm extends DynamicForm class allows to switch edit mode:

  • single Single field edit mode
  • all All fields edit mode

Properties:

  • editByField boolean switches
  • Switches between edit modes
  • default Default to false (all fields are editable)

Methods:

  • saveByFieldFunction (form, item)
    this This allows to override the default impelementation of save action in single field edit mode
  • cancelFieldEditingFunction (form, item)
    this 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

...