Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPSExplorerItem.CanLoadData Method

Indicates whether the report item’s data can be loaded into the preview window.

#Declaration

Delphi
function CanLoadData: Boolean; virtual;

#Returns

Type
Boolean

#Remarks

The CanLoadData method is automatically called by explorer components when an end-users tries to load an item’s data. End-users can double-click on an item or press the Ctrl+Enter key combination while an item is selected to load the item’s data. If the CanLoadData method returns True, the explorer component loads the item’s data and shows the report preview, otherwise nothing happens.

As implemented in the TdxPSExplorerItem class, the CanLoadData method returns False if the item has invalid data or is currently loaded. The latter check is used to avoid reloading the same item’s data.

See Also