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

Grid view group header name in summary row

3 Answers 184 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ajay
Top achievements
Rank 1
Ajay asked on 29 Oct 2010, 12:21 PM
Hello,

   I need to display the total (with name eg. Total :abc ) "Total" text with group header name in specified column in summary row of a grid. For better understanding you can refer the attached image . How can i get the functionality as specified in attached image of a grid?
Please do needful ASAP.
Waiting for prompt reply.

Reagrds,

Ajay

3 Answers, 1 is accepted

Sort by
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on 29 Oct 2010, 02:36 PM
Hello,

I'm not sure i understood completely, but maybe this will help:
radGridView1.GroupDescriptors.Add(
    new Telerik.WinControls.Data.GroupDescriptor(
        new SortDescriptor("Name", System.ComponentModel.ListSortDirection.Ascending)));
 
var summaryItem = new GridViewSummaryItem(
    "Id",
    radGridView1.GroupDescriptors[0].GroupNames[0].PropertyName + " {0}",
    GridAggregateFunction.Sum);
var summaryRow = new GridViewSummaryRowItem(
    new GridViewSummaryItem[] { summaryItem });
radGridView1.SummaryRowsBottom.Add(summaryRow);

Hope this helps, if you have any other questions or comments, please let

me know,

Best Regards,
Emanuel Varga
0
Ajay
Top achievements
Rank 1
answered on 01 Nov 2010, 07:35 AM
Hello Emanuel ,

  Well, thanks for your kind support but the telerik controls I'm using is Q1 2009 version (which can not be upgraded for present scenario) and in that there is no description of "GroupDescriptors" and "SortDescriptor". So please provide me the alternate solution which can help me for the version Q1 2009 ASAP.
Waiting for your prompt support.

Thanks & Regards,

Ajay
0
Jack
Telerik team
answered on 03 Nov 2010, 04:18 PM
Hello Ajay,

We do not offer support for versions older that a year. Nevertheless, we will be glad to assist you with updating your application. Our latest version includes many new features and with our new theming mechanism it is much easier to create new themes.

All the best,
Jack
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Ajay
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Ajay
Top achievements
Rank 1
Jack
Telerik team
Share this question
or