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

Radgrid grouping by a specific column

4 Answers 1051 Views
Grid
This is a migrated thread and some comments may be shown as answers.
d-cpt
Top achievements
Rank 2
d-cpt asked on 06 Jun 2017, 04:54 PM

Is there any way to get radgrid grouping by a specific column?

Thanks,

d-cpt

 

 

4 Answers, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 09 Jun 2017, 08:54 AM
Hello,

You can either drag-n-drop column headers or set GroupByExpressions to achieve this requirement:
http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/grouping/group-footers/defaultcs.aspx

I hope this will prove helpful.

Regards,
Eyup
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
d-cpt
Top achievements
Rank 2
answered on 09 Jun 2017, 11:29 AM

Thank you for the tip. It works.

d-cpt

 

0
asif
Top achievements
Rank 1
answered on 24 Sep 2020, 11:27 AM
Is there a way to capture on which column(s) grouping was done so that I can save them in DB and when a user logs in back I dynamically set GroupByExpressions ?
0
Attila Antal
Telerik team
answered on 29 Sep 2020, 10:50 AM

hi Asif,

By listening to certain events, you can find out what the event is about.

For instance, you can attach the GroupsChanging Event to the Grid, and when this fires, the arguments will contain information about the field/column you're grouping.

Regards,
Attila Antal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
d-cpt
Top achievements
Rank 2
Answers by
Eyup
Telerik team
d-cpt
Top achievements
Rank 2
asif
Top achievements
Rank 1
Attila Antal
Telerik team
Share this question
or