Field list

A field list is used to define which fields are displayed on the grid. The field list can be created as a standalone control or used as a pop-up window through the toolbar. The field list is also a part of a composite control.

Create the field list

You can create the field list for both the pivot table and the flat table. In the examples, the field list is created together with either a pivot or a flat table, and the components share the same state.

Field list for the pivot table

You can create the field list by calling the fm3.Controls.PivotFieldList() method in JavaScript code or using the <fm-pivot-field-list> tag in your HTML:

Field list for the flat table

You can create the field list by calling the fm3.Controls.FlatFieldList() method in JavaScript code or using the <fm-flat-field-list> tag in your HTML:

Use the field list as a pop-up window

Using the field list as a pop-up window is possible via the toolbar. The toolbar automatically opens the appropriate field list for the pivot or flat table. You can access the field list via the toolbar UI or using an API call:

Configure the field list

To configure the field list, use:

Set search visibility for the field list

To hide the search bar in the field list, set the showSearch option to false:

See also