Skip to content

HowToConfigureEditWindow

Carlo Barazzetta edited this page Jan 27, 2017 · 1 revision

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:

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:

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