Home Forums WinForms controls Xceed Grid for WinForms How can this be optimized? Reply To: How can this be optimized?

User (Old forums)
Member
Post count: 23064

I just ran a profiler on this and here’s the results:

dataRow.Visible = rowMatchesFilter; took 127 seconds to execute 36000 which was flagged as one of the most expensive lines in the program.

My question is, why is grid doing it? Can’t grid hide/show the rows behind the scenes and then just redraw once?

Imported from legacy forums. Posted by Natalie (had 353 views)