Skip to main content
All docs
V24.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.v24.2.Blazor.dll

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