Flexmonster Software License Agreement (“Agreement”) has been significantly revised and is effective as of September 30, 2024.
The following modifications were made:
The modified version of Flexmonster Software License Agreement is available here.
Downloading, installing, and/or continuing to use Flexmonster Software after September 30, 2024, constitutes Licensee’s acceptance of the terms and conditions of the modified version of Flexmonster Software License Agreement. If Licensee does not agree to any of these terms and conditions, they must cease using Flexmonster Software and must not download, install, use, access, or continue to access Flexmonster Software. By continuing to use Flexmonster Software or renewing the license under License Model or Maintenance after the effective date of any modifications to Agreement, Licensee accepts and agrees to be bound by the terms and conditions of the modified Agreement.
The FlexmonsterComponent
embeds Flexmonster into a Blazor application.
To add an empty pivot table, specify the <FlexmonsterComponent/>
tag without any parameters:
<FlexmonsterComponent/>
Learn more about integration with Blazor.
The FlexmonsterComponent
’s parameters are equivalent to Flexmonster’s parameters, but with certain differences:
Width
and Height
parameters have the string type and require a string value.FlexmonsterComponent
does not support the following parameters:
customizeAPIRequest
customizeCell
customizeChartElement
customizeContextMenu
FlexmonsterComponent
has the JavaScriptHandler
parameter, which is not available in the new Flexmonster()
API call.JavaScriptHandler
, you can use JavaScript to access Flexmonster features that are not supported in Blazor out of the box (e.g., Toolbar customization).The FlexmonsterComponent
’s parameters can be set as variables or as hardcoded values:
Enclose the variable's name in double quotes (""
) and add the @
prefix to it:
<FlexmonsterComponent Report="@report" Height="@height" Width="@width" Toolbar="@toolbar" Accessibility="@accessibility" />
The specified variables should be defined in the @code
section of the component:
@code { string report = "https://cdn.flexmonster.com/github/demo-report.json"; string height = "600"; string width = "100%"; bool toolbar = true; AccessibilityOptions accessibility = new AccessibilityOptions(); }
In Blazor, you can also set parameters using attribute splatting.
String and boolean values are specified in the same way as in most programming languages:
<FlexmonsterComponent Height="600" Width="100%" Toolbar=true />
Note that when setting a report using a link, the link must be specified in the '@("<link-to-file>")'
format:
<FlexmonsterComponent Report='@("https://cdn.flexmonster.com/github/demo-report.json")' />
To pass an object as a parameter value, specify the object in the "@(<object>)"
format:
<FlexmonsterComponent Accessibility="@(new AccessibilityOptions())" />
Learn more about component parameters in Blazor.