Grouping WebGrid rows has a large performance issue

22 replies. Last post: May 30, 2013 9:36 PM by Handy Surya
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

I am currently experiencing performance problems when grouping the rows in a WebGrid.

The attached example contains a page with a WebGrid containing 400 rows. With no grouping, the grid renders and displays the 400 rows nearly instantly. However, adding 4 grouping columns (required by our application) causes the grid to take much longer to render ( approx. 11 seconds). Adding the group totals (also required by our application) further increases the render time (approx. 30 seconds).

You can reproduce my results by changing the "ADD_GROUPS" and "SHOW_GROUP_TOTALS" variables in the example page code. Also try refreshing the page multiple times to see that the rendering performance is poor on all postbacks as well.

Can you please provide one of the following:

  • Instructions on which settings to change to improve the performance of the grid with grouping enabled, or
  • An update to WebGrid that fixes this performance issue

Thanks!

All times are GMT -5. The time now is 5:36 PM.
Previous Next