Skip to main content

ColumnViewOptionsBehavior.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 modified data has been posted.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ImmediateUpdateRowPosition { get; set; }

Property Value

Type Default Description
Boolean true

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

Property Paths

You can access this nested property as listed below:

Object Type Path to ImmediateUpdateRowPosition
ColumnView
.OptionsBehavior .ImmediateUpdateRowPosition

Remarks

If the ImmediateUpdateRowPosition property is set to true, the View (a ColumnView descendant - for example, GridView) 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 BaseView.RefreshData method.

See Also