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

[Solved] GridView Footer Problem

3 Answers 150 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lakshmi Satish Kumar Pydipati
Top achievements
Rank 1
Lakshmi Satish Kumar Pydipati asked on 07 Jan 2010, 10:59 AM

Hi

When I assign some text to the footer it is not showing in the footer
Code Snippet:
HourSpecificationDataGrid.Columns[2].Footer = totals.Total.ToString();

 

 

Thanks & Regards
Lakshmi Satish Kumar.

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 12 Jan 2010, 03:06 PM
Hello Lakshmi Satish Kumar Pydipati,

Please set the ShowColumnFooters property of RadGridView to true .


Kind regards,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Lakshmi Satish
Top achievements
Rank 1
answered on 13 Jan 2010, 03:27 AM
Hi,

Thanks for your reply
I have already set ShowColumnFooters = true but still it is not affecting in the footer.

After assiging the values for example
HourSpecificationDataGrid.Columns[2].Footer = totals.Total.ToString();
and then if we set ShowColumnFooters = true for the first time it is effecting in the UI.
When I change some values again in the footer still it shows the previous values only.
Is their any method to rebind the total row If so please let me know.

Bye
Satish
0
Pavel Pavlov
Telerik team
answered on 13 Jan 2010, 10:24 AM
Hello Lakshmi Satish,

Please try the RadGridView.CalculateAggregates() method.

All the best,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Lakshmi Satish Kumar Pydipati
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Lakshmi Satish
Top achievements
Rank 1
Share this question
or