Skip to main content

GridControl.EnableRowUpdateOptimization Property

Gets or sets whether the row update optimization mechanism is enabled.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

[Browsable(false)]
public bool EnableRowUpdateOptimization { get; set; }

Property Value

Type Description
Boolean

true if the optimization mechanism is enabled; otherwise, false.

The default value is true.

Remarks

Starting with 17.1, GridControl updates rows only when they are really changed. As a result, e.g., when you remove a certain row in GridControl, other rows are not changed and their row indexes are not recalculated.

If you use the row indexes to display custom data, you need to set the EnableRowUpdateOptimization property to false.

See Also