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.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Nullable<Boolean> | true to recalculate sorting/grouping/filtering/summaries automatically when data in a data source is modified outside the grid; otherwise, false. |
#Remarks
From the v2011 vol 2.8 release, DXGrid behaves like a standard DataGrid when handling massive data updates from its source via the INotifyPropertyChanged interface. The grid 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 (Oservable | ICollection | Server Mode | Instant Feedback UI Mode (Are | Instant Feedback UI Mode (Are | |
---|---|---|---|---|---|---|---|
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.