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
1190
Refresh summary calculations when using grouping
posted

I have a grid that is handling real-time data from the network and I allow the user to group and sum the data.  Because the grid doesn't automatically recalculate the summary calculations i have to call RefreshSummaries on the RowsManagerBase class.  But doing this doesn't work when grouping so I have to traverse all of the row managers by iterating the rows and grabbing the GroupByRows and calling their managers.  This works but seems to use alot of CPU.  I have a grid with about 1000 rows which the user groups into about 100 groups (100 rows per group).  I have a timer and I am doing my RefreshSummaries every 2 seconds but it still uses enough CPU to where the grid lags significantly.  Is there a better way to recalculate the summary information when using grouping?

Parents Reply Children