Group by ID but sort by Date RadGridView

1 Answer 47 Views
GridView
Davide
Top achievements
Rank 1
Davide asked on 08 Sep 2024, 09:27 AM
as per the title I group records by groupID, but the records also contain dates, I in turn would like to order the groups by "creation date" without creating other subgroups, leaving the grouping by groupID unchanged.

Currently I use this code for grouping:

GroupDescriptor descriptor = new();
descriptor.GroupNames.Add("GroupID", ListSortDirection.Descending);
this.DGNotes.GroupDescriptors.Add(descriptor);
I tried using examples in the documentation but to no avail. Thanks for your help.

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 11 Sep 2024, 12:23 PM

Hi Davide,

You can check the following KB articles and let me know if they work for you. If not, you can share more about your scenario with images or a sample project so that I can better understand it.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
GridView
Asked by
Davide
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or