Skip to main content
A newer version of this page is available. .
All docs
V21.2

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.v21.2.Blazor.dll

NuGet Package: DevExpress.Blazor.Dashboard

Declaration

[Parameter]
public string InitialDashboardState { get; set; }

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