Custom Aggregates, Group Row/Footer and Virtualization

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    24 posts
    Member since:
    May 2011

    Posted 17 Dec 2011 Link to this post

    I have a RadGridView that is using grouping and a custom group row template. I moved the group footer to display on the group header, so the aggregates are aligned with their columns and always visible in the header, whether or not the contents of the group are visible. The cells of the grid also use a custom template to display a background color or not, depending on the value of the cell.

    The initial problem is that when scrolling quickly, the backgrounds of the cells do not show up in the correct cells. When scrolling slowly, it works fine, but scrolling quickly breaks it. Assuming this might be a bug with the virtualization, I turned off column virtualization. This solved the scrolling problem.

    Unfortunately, when I turned off column virtualization, I am no longer getting any aggregate values in my footer row. Although I have moved the footer row into the header, I have no idea why that could make any difference. It seems like turning off column virtualization just breaks the footer aggregates. This is totally unacceptable. Please help.
  2. Maya
    Maya avatar
    4062 posts

    Posted 19 Dec 2011 Link to this post

    Hi Stephen,

    Could you clarify a bit how do you change the templates of the cells depending on their values ? Do you use CellStyleSelector or CellTemplateSelector
    Generally, if you use any of those approaches, you will not get any undesired behavior on scrolling. 

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top