<fm-flat-field-list> tag

Inherits the HTMLElement

Creates a flat field list on your HTML page.

You can also create the flat field list using the fm3.Controls.FlatFieldList() method.

Refer to the guide on the field list for the flat table for more details.

Attributes

NameDescription
state-idIdentifier of the state. State with the specified id must exist and be registered in your JavaScript code.

You can also use attributes available for the HTMLElement. For example, you can specify the element’s id to reference the created instance.

Referencing the flat field list instance

You can get a reference to the created flat field list instance via the element’s id:

const flatFieldList = document.getElementById("flat-field-list");

Example

Add a flat field list using the <fm-flat-field-list> tag:

Live example

See also