This is a migrated thread and some comments may be shown as answers.

Custom Aggregates, Group Row/Footer and Virtualization

1 Answer 132 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 18 Dec 2011, 01:23 AM
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.

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 19 Dec 2011, 07:13 AM
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,
Maya
the Telerik team

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

Tags
GridView
Asked by
Stephen
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or