Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
How to preserve column templates on bind
posted

My column templates disappear upon re-binding the grid. I have successfully reset the templates using the setColumnTemplate method. However, I must do this after all igGrid events have fired and it causes unnecessary rendering. I'm currently doing this on a delay just for testing. If I try calling this method inside the dataBound or dataRendered, it results in infinite recursion. I can stop the recursion by setting render = false; However, then it sets the template but doesn't render the display. What is the proper way to preserve column templates when re-binding the grid?

Thanks

John