Change grouping field

2 posts, 0 answers
  1. Roland
    Roland avatar
    16 posts
    Member since:
    Sep 2012

    Posted 10 Dec 2012 Link to this post

    Once a datasource is created, is it possible to change the grouping field in code?

    I tried:

    dataSource.options.group.field = "Name";

    But it has no effect on the grid using the datasource.
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2289 posts

    Posted 12 Dec 2012 Link to this post

    Hello Roland,

    You can use the DataSource group API to group on another field. This is how you can change the group field.

    Regards,
    Nikolay Rusev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top