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
3455
Loading appearence from the xml, column width is not correct
posted

Hi,

I am loading the appearance from the saved xml.

this.UltraGrid1.DisplayLayout.LoadFromXml("");

Also each time when the application is exiting the appearance is saving to the same xml.

The issue I face is when the application loads and exits so many times the width of the column is reducing gradually.

I am also set this property

this.UltraGrid1.DisplayLayout.AutoFitStyle = AutoFitStyle.ResizeAllColumns;

Can any one suggest what is wrong with the procedure follwed?

Regards,

Ceaser

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello,

    I was not able to reproduce your scenario, so I attached a sample in this post showing the process of saving and loading the layout of the grid. Please review the application and feel free to let me know if I misunderstood you or if you have any other questions.

    SaveAsXmlLayoutGrid.zip
Children
No Data