Hi,
Is it possible to prevent selection of group headers?
I want allow user to select only rows (not group header)
Thanks,
Aliaksei
Hi Aliaksei,
Thank you for posting in our forums! Every group row has an attribute called “data-grouprow” and it’s true. You can get this attribute in rowSelectionChanging event of the Selection feature and if it’s true you cancel the event. You can refer to the code snippet below:
rowSelectionChanging: function(evt, args) { if(args.row.element.attr('data-grouprow') === "true"){ evt.preventDefault() } }
Please let me know if this works for you!
Kind regards, Petko Zhekov Software Engineer
Hello Aliaksei,
I am following up if you have any additional questions. If so, feel free to update this thread.