This question is locked. New answers and comments are not allowed.
Hi all,
we use RadGridView and its grouping functionionality in conjunction with the aggregate functions. We have a table with over 1.000.000 records and 240 columns, so we use paging as well, having only 20 rows and just the columns the user needs in the client at once.
When it comes to aggregate functions it turns out that they are calculated on the data the grid holds in its ItemsSource (of course). If I have a group that spans over two pages, the group aggregates are also calculated on the data of the present page.
It is desired that the grid footer shows the aggregates over the whole data and the group footer should show the overall group results. I am able to calculate the desired information on the server and transfer it to the client by means of a data contract object.
My problem is: I dont know how to bind the objects holding the results to the footer of the grid / the group. Is there any way to set the data context of these objects? Is there any way to achive this via the AggregeteResults collection of the grid?
Thanks for any help.
Tobias.
we use RadGridView and its grouping functionionality in conjunction with the aggregate functions. We have a table with over 1.000.000 records and 240 columns, so we use paging as well, having only 20 rows and just the columns the user needs in the client at once.
When it comes to aggregate functions it turns out that they are calculated on the data the grid holds in its ItemsSource (of course). If I have a group that spans over two pages, the group aggregates are also calculated on the data of the present page.
It is desired that the grid footer shows the aggregates over the whole data and the group footer should show the overall group results. I am able to calculate the desired information on the server and transfer it to the client by means of a data contract object.
My problem is: I dont know how to bind the objects holding the results to the footer of the grid / the group. Is there any way to set the data context of these objects? Is there any way to achive this via the AggregeteResults collection of the grid?
Thanks for any help.
Tobias.
