Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridControl.EnableRowUpdateOptimization Property

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.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