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

Need to group by one column at time

1 Answer 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lorenzo
Top achievements
Rank 2
Lorenzo asked on 25 Nov 2013, 02:24 PM
Hello, 
for design reasons i need to group by one column at time, there is a way to do it with the configurations? Or do it with some event bind?

I use MVC with kendo extensions.


Thanks,

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 27 Nov 2013, 10:14 AM
Hi Lorenzo,

From the provided information it's not clear for us what exactly you are trying to achieve, however if you need to restrict the user from grouping by more than one column please note that this feature is not supported out of the box and should be implemented using custom solution.
For example you can use the DataBinding event of the Grid to check if current groups are more than one to remove the previous group and leave only the last one selected.

For convenience I created small example using the above solution which you can use as a baseline:

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Lorenzo
Top achievements
Rank 2
Answers by
Vladimir Iliev
Telerik team
Share this question
or