The View Form Dialog opens when a developer selects the item in the Application builder and clicks the View Form button.
It has two tabs Layout and Form.
On the Layout tab, you can specify how the table is displayed in the view form of the item.
The Layout tab has two lists of fields. The left list contains the fields that were selected be displayed in the table. In the right list there are available fields that you can select.
To select a field, select it in the right list and use the Left arrow button in the center or press Space key on a keyboard.
To unselect a field, select it in the left list and use the Right arrow button in the center or press Space key on a keyboard.
To order the selected fields use the buttons that located below left list.
You can specify the width of the selected columns. To do this, select the field
and enter its width in the Width column. The value can be specified in any
supported CSS unit, for example, in pixels - px
, in percentage, relative to
the parent element - %
. The width specified as an integer value is
interpreted as the width specified in pixels.
Examples of column width values:
On the right side of the “Layout” tab are the controls that you can use to specify the options of the table displayed in the view form:
You can get or change these values programmatically on the client by using the table_options attribute of the item
On this tab are the controls that you can use to specify the options of the view form
You can get or change these values programmatically on the client by using the view_options attribute of the item
Click the OK button to save to result or Cancel to cancel the operation. After saving, you can see the changes by refreshing the project page.