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

Columns summaries

3 Answers 116 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 27 Jul 2008, 09:40 AM
Hi,

Is there a way to View/Add Column Summaries
at the buttom of the grid.

(Not Grouped columns)

Thanks.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 28 Jul 2008, 01:40 PM
Hello Dan,

Thank you for interest in RadGridView.

Yes, RadGridView has capabilities to manage summary items.
The following lines of code demonstrate how to add summary items

 GridViewSummaryItem si= new GridViewSummaryItem("City""Count: {0}", GridAggregateFunction.Count);           
 GridViewSummaryRowItem sr = new GridViewSummaryRowItem(); 
 sr.Add(si); 
            
 this.radGridView1.MasterGridViewTemplate.SummaryRowsBottom.Add(sr); 

Hope this helps.
Don't hesitate to contact us if you have other questions.

Sincerely yours,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Dan
Top achievements
Rank 1
answered on 29 Jul 2008, 08:54 AM
First Thanks for the answer it helped.

1. Is there a way to view the column summaries in a diffrent way
somthing like a Grid Status bar that will be shown allways.

2. Is it possible to update the summaries according to the filtered rows

Thanks in Advance.
0
Jack
Telerik team
answered on 30 Jul 2008, 01:15 PM
Hello Dan,

Thank you for this question.

  1. Currently it isn't possible to pin the summary row at the bottom of RadGridView. Nevertheless, this is a good functionality and we will consider implementing it in a future release of our controls.
  2. Summary items are updated when the filtering is changed. Please, could you specify the exact behavior you want to achieve.

Do not hesitate to write us if you need further assistance.

Regards,
Jack
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Dan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Dan
Top achievements
Rank 1
Jack
Telerik team
Share this question
or