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
400
Performance if setting VisiblePosition
posted

Hi!

I have a loop that reorders all the columns of an ultragrid. Something like this:

foreach (var column in band.Columns) column.Header.VisiblePosition = positions[column.key];

After profiling my application I show that this code needs about 5 seconds to run, for about 15 columns. I tried using Suspend/ResumeLayout but it didn't help.

Is there anything that I can do?

Parents Reply Children
No Data