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
225
Saving the status of expanded/collapsed child rows
posted

I am saving/loading the layout but this doest keep which rows have been expanded/collapsed, is there an easy way to preserve this or should I listen for expand/collapse events and store their status myself so I can save/load them separately.

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi,

        No, there's no easy way to do this. The Layout does not include any row-specific properties, because this would mean saving the data. Obviously, it doesn't make any sense to save the data as part of the layout.

        You would have to store this using some kind of key information for each row, because remember, the data might not be the same the next time you run the applicaiton and the Row objects certainly won't be the same objects.  

Reply Children