Hi,
I'm using a RadGridView with an ObservableCollection as its data source. As a minimal test case to evaluate the efficiency of updates, I created an application which appends a single item to the collection every few seconds. Unfortunately, it's unacceptably slow. After the item is added, the GridView's scrollbar becomes unresponsive for about one second, and the application generally feels sluggish. I have tried the default DataLoadMode of Synchronous, as well as the Asynchronous option, and I noticed little (if any) difference. This is with three string columns, and no grouping or active sorting.
The unresponsive UI is compounded by some kind of scrollbar issue (potentially a Silverlight issue), whereby if I try to drag the scrollbar while an update is processing, it blocks until completion, and then the scrollbar is stuck with focus. Regardless of whether the mouse button is held down, the vertical scroll grip tracks any vertical mouse movement.
What I'm looking for is an efficient way to handle updates which does not cause any kind of disruption to the UI, even it means disabling some of the features of the grid (grouping, or whatever).
Any help would be greatly appreciated.
Take care,
Moe
I'm using a RadGridView with an ObservableCollection as its data source. As a minimal test case to evaluate the efficiency of updates, I created an application which appends a single item to the collection every few seconds. Unfortunately, it's unacceptably slow. After the item is added, the GridView's scrollbar becomes unresponsive for about one second, and the application generally feels sluggish. I have tried the default DataLoadMode of Synchronous, as well as the Asynchronous option, and I noticed little (if any) difference. This is with three string columns, and no grouping or active sorting.
The unresponsive UI is compounded by some kind of scrollbar issue (potentially a Silverlight issue), whereby if I try to drag the scrollbar while an update is processing, it blocks until completion, and then the scrollbar is stuck with focus. Regardless of whether the mouse button is held down, the vertical scroll grip tracks any vertical mouse movement.
What I'm looking for is an efficient way to handle updates which does not cause any kind of disruption to the UI, even it means disabling some of the features of the grid (grouping, or whatever).
Any help would be greatly appreciated.
Take care,
Moe