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?
Hello Dimitris
What version of Net Advantage are you using? I am assuming that the positions object in the code snippet is some collection of integers. How many columns does the grid have?
Yes, obviously it's a collection of integers, and as I'm saying above there are about 15 columns.
Also there are about 25 rows of data on the grid when this code runs.