Skip to main content
A newer version of this page is available. .

DataViewBase.ImmediateUpdateRowPosition Property

Gets or sets whether a row’s position is immediately updated according to the sorting, grouping and filtering settings after the current row data has been posted.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.Core.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public bool ImmediateUpdateRowPosition { get; set; }

Property Value

Type Description
Boolean

true, if a row’s position is immediately updated after its data has been modified; otherwise, false.

Remarks

By default, when this property is set to true the View automatically keeps its data sorted, grouped and/or filtered according to the current sorting, grouping or filtering settings. After a specific record is modified and the changes are posted, the View will re-sort, re-group and/or re-filter its data in order to place the record in an appropriate position (or hide it if it no longer matches the current filter criteria). Thus, a change made to any record may result in the record being moved to another position or even being hidden entirely.

If a specific record has been modified when the ImmediateUpdateRowPosition property is set to false, the record’s position is not immediately updated to reflect the current sorting, grouping and/or filtering settings. In this case, multiple records can be modified at once and they will keep their positions until the View is manually refreshed. To manually refresh the View, call the DataControlBase.RefreshData method.

See Also