<fm-flat-table> tag
Inherits the HTMLElement
Creates a flat table on your HTML page.
You can also create the flat table using the f3.Controls.FlatTable() method.
Attributes
Name | Description |
---|---|
state-id | Identifier of the state. State with the specified id must exist in your JavaScript code. |
You can also use attributes available for HTMLElement. For example, you can specify the element’s id
to reference the created instance.
Referencing the flat table instance
You can get a reference to the created flat table instance via the element’s id
:
const flatTable = document.getElementById("#flat-table");
Example
Add a flat table using the <fm-flat-table>
tag: