Hello Everyone,
In my grid I have a a career row that I would like to either insert into the footer, or dynamically move to the bottom of the grid after a sort. The career totals that I have to calculate are complex in nature and I am not sure I can do the calculations in the footer. Any advice would be much appreciated.
Thanks in Advance,
Brad
In my grid I have a a career row that I would like to either insert into the footer, or dynamically move to the bottom of the grid after a sort. The career totals that I have to calculate are complex in nature and I am not sure I can do the calculations in the footer. Any advice would be much appreciated.
Thanks in Advance,
Brad
4 Answers, 1 is accepted
0

Princy
Top achievements
Rank 2
answered on 16 Feb 2012, 05:12 AM
Hello,
Check the following help documentation which expalins more about this.
Totals in Grid Footers.
Thanks,
Princy.
Check the following help documentation which expalins more about this.
Totals in Grid Footers.
Thanks,
Princy.
0

Brad
Top achievements
Rank 2
answered on 16 Feb 2012, 06:50 PM
Yes I have visited that page, but I can't use those functions as they will not accurately represent the totals.
Is there any way to take a GridDataItem Row and insert it into the GridDataFooterItem?
Or
Is there any way to when sorting to move a GridDataItem to the last row of the grid?
Thanks in advance for any help.
Is there any way to take a GridDataItem Row and insert it into the GridDataFooterItem?
Or
Is there any way to when sorting to move a GridDataItem to the last row of the grid?
Thanks in advance for any help.
0
Accepted
Hi Brad,
If using the footer is not an option for you, you can try the other suggestion from my reply to your support ticket with the same question:
Consider using a CommandItemTemplate displayed only at the bottom of the grid. For this purpose you can:
1) Specify this template in your MasterTableView:
2) Set MasterTableView-CommandItemDisplay="Bottom" 3
3) You can perform your calculations and populate the template in the PreRender event of RadGrid. To access the CommanItem there, you can use the GetItems method:
http://www.telerik.com/help/aspnet-ajax/grid-using-getitems-getcolumn-methods.html
If you have further questions or concerns, please post in the support thread, so that we can avoid duplicate posts on the same issue.
All the best,
Tsvetina
the Telerik team
If using the footer is not an option for you, you can try the other suggestion from my reply to your support ticket with the same question:
Consider using a CommandItemTemplate displayed only at the bottom of the grid. For this purpose you can:
1) Specify this template in your MasterTableView:
<
MasterTableView
CommandItemDisplay
=
"Bottom"
>
<
CommandItemTemplate
>
..........
</
CommandItemTemplate
>
</
MasterTableView
>
2) Set MasterTableView-CommandItemDisplay="Bottom" 3
3) You can perform your calculations and populate the template in the PreRender event of RadGrid. To access the CommanItem there, you can use the GetItems method:
http://www.telerik.com/help/aspnet-ajax/grid-using-getitems-getcolumn-methods.html
If you have further questions or concerns, please post in the support thread, so that we can avoid duplicate posts on the same issue.
All the best,
Tsvetina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0

Brad
Top achievements
Rank 2
answered on 21 Feb 2012, 04:08 PM
Yes thank you for that suggestion. That worked for me.