Hello,
I have a DropDownList in my grid toolbar that represent a list of 'views' for the grid.
When I select one of them, I use both getOptions and setOptions to modify the columns order and states.
My problem is that when I execute setOptions, my DropDownList kendo is lost and don't keep the state it had before setOptions.
How can I achieve this pls ?
I have a DropDownList in my grid toolbar that represent a list of 'views' for the grid.
When I select one of them, I use both getOptions and setOptions to modify the columns order and states.
My problem is that when I execute setOptions, my DropDownList kendo is lost and don't keep the state it had before setOptions.
How can I achieve this pls ?
Finally, I gave up on the idea of using setOptions.
Instead, I manually used kendoGrid.columns and all the other methods in a for loop to update the grid.
Hello, Theodore,
I just wanted to let you know that any function references are lost if you try to preserve the state using the setOptions/getOptions methods. The reason is explained in the setOptions documentation. A possible approach is to reassign any templates or functions you are using, similar to this How-To example.
Actually i am also facing this problem but hope this reply will help me. i will recheck the the setOptions documentation. Thanks for your reply.
Best regards,
samuel898 HP® Store