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

[Solved] grouping rows in grid - custom

3 Answers 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Saran kumar
Top achievements
Rank 1
Saran kumar asked on 09 Jan 2010, 09:12 AM
hi please find attached the grid.
i need to get the custom grouping as shown.
please help

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 13 Jan 2010, 11:26 AM
Hi Saran,

Basically, the screenshot supplied is similar to the layout in the following example:

http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx

What additional requirements do you have, which are not presented in the demo above?

Greetings,
Yavor
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
Saran kumar
Top achievements
Rank 1
answered on 15 Jan 2010, 07:43 AM
Hi Thanks for your reply.
in that link you provided sort works in a button click, please see attached, i mentioned note there.
in my application if i click the sort on grouping column the june should go down and "december 2009" should come up in decending order.

please help.
0
Yavor
Telerik team
answered on 20 Jan 2010, 09:51 AM
Hi Saran,

Presently, the sorting when the control is grouped works as follows. When one clicks on the column header linkbutton, the sorting is performed only within the groups. For example, you may want to sort the company name within a given group. If you sort the items in the group, no change will be observed, since all items in each group are equivalent. You need to sort another column, to observe the actual sorting.
The sorting in the group header sorts the groups themselves.
These two behaviors allow for enough flexibility, however also preserve the correlation with the grouping - no sorting should break the current grouping of the rows in the grid.
I hope this information helps.

Regards,
Yavor
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
Grid
Asked by
Saran kumar
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Saran kumar
Top achievements
Rank 1
Share this question
or