fm3.Controls.Flexmonster()
fm3.Controls.Flexmonster (
container
: HTMLElement | String,
params?
: BaseInputParamsObject
)
A static method that creates a Flexmonster control in the specified HTML container. The control includes a pivot table, a toolbar, and a field list.
You can also create the Flexmonster control using the <fm-flexmonster> 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 Flexmonster control. If the params is not specified, an empty control will be added to the page. |
Returns
IFMComposite instance, the reference to the embedded Flexmonster control.
Examples
- Add an empty Flexmonster control:
- Add a configured Flexmonster control: