GridControl.AllowLiveDataShaping Property
Gets or sets whether or not the grid recalculates sorting/grouping/filtering/summaries automatically when data in a data source is modified outside the grid.
Namespace: DevExpress.UI.Xaml.Grid
Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true to recalculate sorting/grouping/filtering/summaries automatically when data in a data source is modified outside the grid; otherwise, false. |
#Remarks
The grid control handles only updates from rows/cells that are visible onscreen. This significantly improves performance when working with large volumes of data, where only a small number of rows are visible onscreen. However, this makes it impossible to update sorting/grouping/filtering/summary automatically. To force the grid to update sorting/grouping/filtering/summaries, set the AllowLiveDataShaping option to true. Note that in certain instances, this may lead to significant performance degradation when handling an intensive data update flow.
If the grid is bound to an IBindingList data source, all notifications, by default, are handled by the IBindingList implementor, and the sorting/grouping/filtering/summary is automatically recalculated. To disable this behavior, set the AllowLiveDataShaping property to false.
Note
If the grid is bound to ICollection
IList | IBinding (Binding | INotify (Observable | ICollection | |
---|---|---|---|---|
INotify Allow | + - | + + | + - | + - |
INotify Allow | + - | + - | + - | + - |
INotify Allow | + + | + + | + + | + - |
No INotify | - - | - - | - - | - - |
Where:
- - - Visible rows are not updated; sorting, grouping, filtering and data summaries are not automatically recalculated.
- - + Visible rows are not updated; sorting, grouping, filtering and data summaries are automatically recalculated.
- + - Visible rows are updated; sorting, grouping, filtering and data summaries are not automatically recalculated.
- + + Visible rows are updated; sorting, grouping, filtering and data summaries are automatically recalculated.
Note
Changes in attached properties are not taken into consideration.