When using setOptions and loadOptions to allow users to save their personal configurations of a grid, it would be nice if I didn't have to manually add all of the templates to the options object before calling setOptions. Without that step, columns using view templates appear with the raw data. To add the templates to the options object, I'm forced to separate them out as functions instead of leaving them inline with the column definition.
Hello,
We've prepared a Knowledge Base article which showcases how the default JSON parsing can be extended to save function handlers as well.
https://docs.telerik.com/kendo-ui/knowledge-base/grid-persist-state-with-functions
Custom templates that are defined as functions can now be stored in the user options without having to restore each template individually.
Best Regards,
Georgi Denchev
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.