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
150
Auto resizing of Ultragrid column (PerformAutoResize performance issue)
posted

Hi, 

I'm currently working on a request where in I need to auto resize columns (only specific columns. not all) but the performance itself is still a concern. I tried the code inside InitializedRow:

 this.Ultragrid.DisplayLayout.Rows.Band.Columns[DescriptionEColumn].PerformAutoResize(PerformAutoSizeType.VisibleRows, false);

The output is good but the performance is not. 

I'm thinking if there's a way where you can get the most biggest width of the columns among all those rows and saved it and that will be the width of the column grid. Is this possible?

Thanks,

Sky