fm3.Controls.FlatTable()
fm3.Controls.FlatTable (
container
: HTMLElement | String,
params?
: BaseInputParamsObject
)
A static method that creates a flat table in the specified HTML container.
You can also create a flat table using the <fm-flat-table> tag.
Parameters
Parameter/Type | Description |
---|---|
containerHTMLElement | String | An HTML element where the flat table should be rendered. You can pass either the HTMLElement or its id . |
paramsBaseInputParamsObject | optionalProvides configurations for the control. If the params is not specified, an empty control will be added to the page. |
Returns
IFMFlatTable instance, the reference to the embedded flat table control.
Examples
- Add an empty flat table control:
- Add a configured flat table control: