All docs
V21.1
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DataRequestOptionsBuilder.ItemDataLoadingMode(ItemDataLoadingMode) Method

Specifies whether to load data for items that are not displayed.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v21.1.AspNetCore.dll

Declaration

public DataRequestOptionsBuilder ItemDataLoadingMode(
    ItemDataLoadingMode mode
)

Parameters

Name Type Description
mode ItemDataLoadingMode

A ItemDataLoadingMode enumeration value that specifies whether to load data for items that are not displayed.

Returns

Type Description
DataRequestOptionsBuilder

A reference to this instance after the operation has completed.

Remarks

Use the ItemDataLoadingMode property to specify whether to load data for all items in a dashboard or only for visible items.

The control loads data for all dashboard items in a dashboard by default (the ItemDataLoadingMode property value is Always).

If you set the ItemDataLoadingMode property to OnDemand, the control loads data as follows:

  • If you have more than one tab page, data is loaded only for the active page. The control loads the remaining dashboard items on demand (for instance, when you switch to another tab page).
  • If a dashboard has applied filters, hidden Master Filter items that affect the visible dashboard items are also loaded.
  • Dashboard items that are shown with the Display Item As Page option enabled are considered visible and data for all such items are requested when it is loaded the first time.
See Also