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/TypeDescription
containerHTMLElement | StringAn HTML element where the flat table should be rendered. You can pass either the HTMLElement or its id.
paramsBaseInputParamsObjectoptionalProvides 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

  1. Add an empty Flexmonster control:
  1. Add a configured Flexmonster control:

See also