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

Change grouping field

1 Answer 45 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Roland
Top achievements
Rank 1
Roland asked on 10 Dec 2012, 02:28 PM
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.

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 12 Dec 2012, 11:53 AM
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!
Tags
Data Source
Asked by
Roland
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or