简体   繁体   中英

How to group only one field in the kendo grid?

How to group only one field?

When I group an item I want to disable the grouping of other fields. I create a demo http://dojo.telerik.com/UgoyO/35

it should not be possible to group the second field!

在此输入图像描述

I updated your fiddle. What i did is adding a function which listens to the group event and prevents adding more than one group.

http://dojo.telerik.com/UgoyO/38

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM