Hi,
I have been battling an issue in KendoUI's Grid widget recently. Basically I want to implement state saving for grids, this includes whether a field is hidden or not. I am able to get this working perfectly, except in the case where a field is initialized as "hidden:true".
What I can't work out, is that it seems to work fine in the kendo state save example here:
http://dojo.telerik.com/EBaDE
However, I tried modifying the kendo columnMenu example (I think is a closer match to my case), and I see the same issue as I am seeing in our internal application:
http://dojo.telerik.com/uJiNu/2
Basically the OrderId is set hidden:true, to begin with, now as soon as I get the grid options in the same way I normally would, set hidden:false, then set the grid options back, as you can see in my link above the column has room made for it, but it never appears. Now if you start to hide and show other columns, you get javascript errors.
Is this a Kendo Bug? Or am I doing something wrong?
This took me a while to work out what was going on, any help would be much appreciated.
I have been battling an issue in KendoUI's Grid widget recently. Basically I want to implement state saving for grids, this includes whether a field is hidden or not. I am able to get this working perfectly, except in the case where a field is initialized as "hidden:true".
What I can't work out, is that it seems to work fine in the kendo state save example here:
http://dojo.telerik.com/EBaDE
However, I tried modifying the kendo columnMenu example (I think is a closer match to my case), and I see the same issue as I am seeing in our internal application:
http://dojo.telerik.com/uJiNu/2
Basically the OrderId is set hidden:true, to begin with, now as soon as I get the grid options in the same way I normally would, set hidden:false, then set the grid options back, as you can see in my link above the column has room made for it, but it never appears. Now if you start to hide and show other columns, you get javascript errors.
Is this a Kendo Bug? Or am I doing something wrong?
This took me a while to work out what was going on, any help would be much appreciated.