I've searched the forum for an answer to this question and so far can't find an answer.
A perfect example of this issue is shown in the walkthrough: http://docs.kendoui.com/getting-started/web/grid/walkthrough
In the section called "Grouping" the walkthrough says that a user can drag the "surname" column up to be a group header. That's great. But the surname column still shows in the grid itself which just looks silly.
Is there a way to automatically have Kendo hide the Surname column whilst it's being grouped? Similarly if the user then removes the surname column from being a group header I'd like the column to reappear again.
I would like to make all of my grids work this way so don't want to have to hardcode stuff based on column names if at all possible.
Other forum threads which cover this topic include
- there wasn't any solution given :(
- the solution here wasn't really a solution.
- this one seems to show it could be possible if I was setting up grouping from code external to Kendo. Useful to know but not, on its own, a fix.
- This is asking the same question about 18 months ago and there wasn't a solution at the time. I'm hoping that's changed in the meantime or someone else has thought of a clever solution :)
Thanks very much!