Skip to content

How To Configure the Edit window

The List controller opens each record in an edit form. You configure that form with two sibling nodes placed directly under Controller — there is no intermediate wrapper node:

  • EditController — the edit window itself: its size and layout (Width, Height, LabelWidth, CloneButton, KeepOpenAfterOperation, …).
  • FormController — the form inside it, including its buttons (for example the caption of the confirm button).
yaml
Type: Data
Controller: List
  # ...add AutoOpen, Filters and so on here...
  EditController:
    Width: 800
    Height: 600
  FormController:
    ConfirmButton:
      Caption: Accept

The definition above sizes the edit window and changes the caption of the confirm button to Accept. Put all edit-window sizing under EditController and all form-specific settings (such as ConfirmButton) under FormController; both are direct children of Controller.

Released under Apache License, Version 2.0.