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
20
Infragistic UltraGrid Column Size Problem
posted

Hi ,

i am using UltraGrid (infragistic 9.1 ) in my window Application. i want if user change column size and closed application. Again when user open the application changed size should be showed in applied column.

Is there any property or any alternative solution?

if possible please provide me link or code related to this problem.

 

Thanks,

akgupta

  • 5118
    Verified Answer
    posted

    Hi,

    The state of the application from one instance to another would not be saved without developer intervention.  When the application is closing (maybe better to use Form.Closing event) go through the columns in the grid and gather the widths and store them in a place where subsequent runs of the application could access them, such as an xml file.  When the application loads check for the existence of the xml file and read the file in, parse it and update the Grid's Column Widths to the sizes defined in the xml file.