Skip to content

DevExpress-Examples/wpf-data-grid-process-frequent-data-updates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF Data Grid - Process Frequent Data Updates

This example demonstrates three different techniques to handle frequent updates in the GridControl.

ChunkAndOptSummariesExample

Use the ChunkList collection and optimized summaries to improve the speed of individual updates.

Files to Review

Documentation

BeginEndDataUpdateExample

Wrap data update batches in BeginDataUpdate and EndDataUpdate methods calls. The BeginDataUpdate method locks the GridControl's UI and allows you to execute multiple updates. The EndDataUpdate call unlocks updates and refreshes the GridControl. In this example, a custom MVVM service calls these methods from the view model level (GridUpdateService).

Files to Review

Documentation

RefreshDataExample

Set the AllowLiveDataShaping property to false and use a collection that doesn't support notifications (for example, List<T>) to ignore data shaping operations when data is changed. Call the GridControl.RefreshData method to display all changes in the control. In this example, a custom behavior refreshes the GridControl each second (GridTimerRefreshBehavior).

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)