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.v20.1.dll

Declaration

public virtual void EnsureRowLoaded(
    int rowHandle,
    OperationCompleted completed
)
Public Overridable Sub EnsureRowLoaded(
    rowHandle As Integer,
    completed As OperationCompleted
)

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