DxDashboard.InitialDashboardState Property
Specifies the state of the dashboard to be loaded to the DxDashboard before the component is rendered.
Namespace: DevExpress.DashboardBlazor
Assembly: DevExpress.Dashboard.v24.2.Blazor.dll
Declaration
Property Value
Type | Description |
---|---|
String | A string value that specifies the dashboard state in JSON format. |
Remarks
The following code shows how to pass a string that contains a dashboard state in JSON format to the InitialDashboardState
property:
<DxDashboard style="height: 800px"
Endpoint="api/dashboard"
InitialDashboardId="SalesOverview"
InitialDashboardState='{"Items":{"gridSalesByState":{"MasterFilterValues":[["Nevada"]]}}}'>
</DxDashboard>
See Also