Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
Slow performance if grid mostly empty ?
posted

I have a strange performance issue on WPF2007 vol2 with xamDataGrid.

 If I assign an untyped DataSet with just 40 records to a grid, and the grid previously has only 1 or 2 rows displayed, then it takes almost 2 seconds to display the grid with the new data. But if I now assign a dataset with 1,000 records to the same grid which is now displaying a full page of data, it displays in 0.1 seconds! It seems that if the xamDataGrid has a largely empty screen performance is much slower when you then display a full screen of data.

Is there a solution to this problem ?

I also find grouping takes several seconds, as does expanding a hierarchical node. Winforms, on the other hand, is instant - and this is progress ?