Versions Compared

Key

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


Displaying a widget on a form

...

Forms. generally, display a set of fields of various types, occasionally split for the sake of clarity. Forms also can include widgets

Before a widget can be displayed on some form, it should be pre-configured for this. To pre-configure a widget, you need to:

  1. Create a widget. Widget creating is described in the Create a New Widget article.
    1. Define the widget behavior and look, define its server and client logic.
    2. Specify the tables to display the widget on 


Before a widget

Можно виджеты добавлять через Form Layout. Для этого сначала:

  1. Создать виджет (ссылка сюда: Create a New Widget )
  2. Указать таблицы, на форме которых он доступен (это указывается в поле Table IDs).
  3. Если нужно, чтобы виджет отображался и на формах дочерних таблиц, то нужно отметить inheritance.
  4. Далее вывести на форму (ссылка сюда: Add widgets to a form)

...