Skip to content

Commit 8a72826

Browse files
committed
Document complex tabbed layout
1 parent 0c09dd7 commit 8a72826

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentation/3-complex-field/5-setup-methods.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ You can use the following methods to setup and customize the complex field.
66

77
This method is identical to Container add_fields method, where `$fields` is an array of fields.
88

9-
`set_layout($layout = table | list)` *Deprecated*
9+
`set_layout($layout)`
1010

1111
There are two layouts available for displaying a complex field:
1212

13-
* `Complex_Field::LAYOUT_TABLE` *(default)* – lists groups as rows. Each field in the group is displayed in a new line with the label first and the user control after it.
14-
* `Complex_Field::LAYOUT_LIST`lists groups as rows and their fields as a columns.
13+
* `grid` *(default)* – lists the complex groups as a grid. Each field in the group is displayed in a new line with the label first and the user control after it.
14+
* `tabbed` – groups are displayed as tabs. If the group has a label, it will be displayed in the tabs navigation. The fields style is similar to the grid layout.
1515

1616
`set_min($min)`
1717

0 commit comments

Comments
 (0)