Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

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.

  • No labels