Skip to main content

GridViewBase.ImmediateUpdateRowPosition Property

Gets or sets whether a row's position is immediately updated according to the current sorting, grouping and filtering settings after the row's data has been modified. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.dll

Declaration

public bool ImmediateUpdateRowPosition { get; set; }
Public Property ImmediateUpdateRowPosition As Boolean

Property Value

Type Description
Boolean

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

Remarks

If the ImmediateUpdateRowPosition 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. When a record is modified, the View re-sorts, re-groups and/or re-filters its data to place this record in an appropriate position (or hide it if it no longer matches the current filter criteria). As a result, a change made to any record may result in the record being moved to another position or even being hidden entirely.

If a record has been modified and 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 instance, 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