Back to Devexpress

GridControl.EnableRowUpdateOptimization Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-8a2f923f.md

latest1.5 KB
Original Source

GridControl.EnableRowUpdateOptimization Property

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

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Browsable(false)]
public bool EnableRowUpdateOptimization { get; set; }
vb
<Browsable(False)>
Public Property EnableRowUpdateOptimization As Boolean

Property Value

TypeDescription
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

GridControl Class

GridControl Members

DevExpress.Xpf.Grid Namespace