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
60
Restoring state of grid columns seems to ignore HTML template
posted

Hello!

in my HTML template I have several custom components (i.e. SVG Icons) and data pipes wrapped in <igx-column />s.

Saving and restoring grid state works fine except for the columns option. As soon as I set

igxGridState = {
  columns = true
...
}
and restore the grid by setState() the grid only shows unpiped raw data and no custom componentts at all. It seems, like the HTML template is ignored completely . 
 
Is there a way to fix that?
Thank you in advance!
  • 740
    Offline posted

    Hello Mario,

    Thank you for posting in the Infragistics Community!

    There could be multiple reasons for the described behavior and without having a small, isolated sample, that I can debug on my side it is going to be very hard to determine the root cause of it.

    Having this in mind, please remove any external dependencies and code that is not directly related to this behavior so I can run npm install, test this sample on my side and provide you with a solution as soon as possible.

    This is going to be highly appreciated and extremely helpful.

    Looking forward to hearing from you.

    Best Regards,
    Martin Evtimov
    Entry Level Software Developer
    Infragistics, Inc.