Skip to main content

ColumnView.EnsureRowLoaded(Int32, OperationCompleted) Method

Loads a row (if it is not already loaded) and calls your callback method after that. This method is in effect in Instant Feedback Mode.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public virtual void EnsureRowLoaded(
    int rowHandle,
    OperationCompleted completed
)

Parameters

Name Type Description
rowHandle Int32

An integer value that specifies the handle of the row to be loaded.

completed DevExpress.Data.OperationCompleted

A DevExpress.Data.OperationCompleted method that will be called when the requested row has been loaded. The method’s argument will contain an array of the loaded row’s field values.

Remarks

In Instant Feedback Mode, rows are loaded on demand in a background thread. The EnsureRowLoaded method ensures that the specified row is loaded and calls your callback, specified by the completed parameter, after the row has been loaded. If the specified row is already loaded, your callback will be called immediately.

See Also