Radgrid grouping by a specific column

5 posts, 1 answers
  1. d-cpt
    d-cpt avatar
    59 posts
    Member since:
    Mar 2008

    Posted 06 Jun 2017 Link to this post

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

    Thanks,

    d-cpt

     

     

  2. Answer
    Eyup
    Admin
    Eyup avatar
    4045 posts

    Posted 09 Jun 2017 Link to this post

    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.
  3. d-cpt
    d-cpt avatar
    59 posts
    Member since:
    Mar 2008

    Posted 09 Jun 2017 Link to this post

    Thank you for the tip. It works.

    d-cpt

     

  4. asif
    asif avatar
    1 posts
    Member since:
    Nov 2016

    Posted 24 Sep 2020 Link to this post

    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 ?
  5. Attila Antal
    Admin
    Attila Antal avatar
    590 posts

    Posted 29 Sep 2020 Link to this post

    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/.

Back to Top