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

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.v18.2.dll

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
AdvBandedGridView
.OptionsBehavior.ImmediateUpdateRowPosition
BandedGridView
.OptionsBehavior.ImmediateUpdateRowPosition
ColumnView
.OptionsBehavior.ImmediateUpdateRowPosition
CardView
.OptionsBehavior.ImmediateUpdateRowPosition
GridView
.OptionsBehavior.ImmediateUpdateRowPosition
LayoutView
.OptionsBehavior.ImmediateUpdateRowPosition
TileView
.OptionsBehavior.ImmediateUpdateRowPosition
WinExplorerView
.OptionsBehavior.ImmediateUpdateRowPosition

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 BaseView.RefreshData method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImmediateUpdateRowPosition property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also