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
455
Export ALL settings for a grid to XML
posted

I am trying to export the settings of a grid to an XML file. I used grid.DisplayLayout.SaveAsXML. However it was not exporting everything. When I used the grid.DisplayLayout.LoadFromXML to restore the settings, it just doesn't look the same.

 

Is there any other ways to do what I want? Thanks.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

    Can you be more specific? What exactly do you want to save that is not being saved? 

    The Save/Load methods on the layout only save column- and band-level properties. The grid will never save anything related to the rows or the data, because that would mean copying the data along with it which would be a huge waste of hard drive space and wouldn't work, anyway, since the data might change the next time the application is run. 

Children