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
630
Issues with Loading DisplayLayout from XML File
posted

We've run into an issue when we add an aditional column to a grid that was not in the previously saved
XML file. When using the LoadFromXml method the previously defined columns appear formatted as
they appeared when the layout was saved.

The new column though appears with no formatting even though in the Initializelayout event we
are defining how we want the new column to appear.

Is there a way when a new column is added to a grid to format it to appear like the other columns
saved in the XML file? Or, is there a way to ignore the XML file and use a default layout
(like in the InitializeLayout event) to format the grid (and then the user would have to re-save
the format)?

Any suggestions would be helpful.

Thanks


 

Parents
  • 4555
    posted

    Hi James,

    The saved XML file will only contain the old columns not the one that was added.  I am not sure what you mean by is there a way to ignore  the XML file and use the default layout.  As long as you do not load the XML file it will be ignored, can you please update the case with more information.

     

    Magued  

Reply Children