Skip to content

How To Configure the Edit window

By default, the List controller hosts a GridPanel which creates and displays the FormController at appropriate times. So, your view definition should look like:

yaml
Type: Data
Controller: List
  ...add AutoOpen, Filters and so on here...
  GridPanelController:
    FormController:
      ConfirmButton:
        Caption: Accept

The definition above will change the caption of the Form confirmation button to 'Accept'. The Controller/GridPanelController/FormController node represents the Form Controller configuration. Put all your Form-specific setting there.

Please note that you can also use custom classes instead of the default GridPanel and Form by simply defining them in your code and specifying their names as node values:

yaml
Type: Data
Controller: List
  ...add AutoOpen, Filters and so on here...
  GridPanelController: MyGridPanel
    FormController: MyForm
      ConfirmButton:
        Caption: Accept

Released under Apache License, Version 2.0.