OptionsColumn.ImmediateUpdateRowPosition Property
Gets or sets whether the focused row’s position is immediately updated according to the sorting, grouping and filtering settings after the current column data has been posted.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v19.2.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean ImmediateUpdateRowPosition { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | **Default** | A value that defines whether a row’s position is immediately updated after the column data has been modified. |
Available values:
Name | Description |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ImmediateUpdateRowPosition |
---|---|
GridColumn |
|
LayoutViewColumn |
|
BandedGridColumn |
|
Remarks
Initially, the ImmediateUpdateRowPosition property is set to Default. For columns with CheckEdit in-place editors, the Default value is equivalent to False. For other column types, the actual row update mode in Default mode is specified by the View’s ColumnViewOptionsBehavior.ImmediateUpdateRowPosition property.
The OptionsColumn.ImmediateUpdateRowPosition property has been introduced to resolve issues with rearranging rows when toggling check boxes in CheckEdit columns. You can reproduce these issues by setting the ImmediateUpdateRowPosition property for a CheckEdit column to True, sorting data against this CheckEdit column and then toggling check boxes. A click on a check box in a non-focused row may result in re-arranging rows prior to checking/unchecking the check box in the target row. We suggest that you keep the ImmediateUpdateRowPosition property set to Default (or False) for CheckEdit columns.