Current with a grid if a user hides a column (say there is a computer domain column that is always the same. The user is tired of looking at it, so they hide the column). Right now, if they leave that page then go back (or refresh), the column comes back as well. Is there a way to persist this?
1 Answer, 1 is accepted
0
Alexander Valchev
Telerik team
answered on 01 Nov 2012, 01:39 PM
Hello Kyle,
I am afraid that what you would like to achieve is not supported out of the box by Kendo Grid. When the user leaves (or refreshes) the page JavaScript objects are re-initialized which means that all Kendo widgets will be rebuild.
The solution would be store the hidden columns in the local storage, cookie, etc. and re-apply the settings after page is loaded. Once you retrieve the column ids, they can be hidden again through the hideColumn method.
Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!