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
80
How to improve UltraGrid's performance when using multibands?
posted

I would like to find out a way to improve UltraGrid's performance for the following simplified use case:

- DataSource consists of a parent-child relationship, with 2 tables having 5000 records each, and an one-to-one relationship between records;

- For the first time, it will take about 1 min 40 sec, whenever you invoke grid code which enumerates ChildBand rows.

To repro the behavior, either invoke _ultraGrid.Rows.ExpandAll( true ) or run the following:

foreach( UltraGridRow group in _ultraGrid.Rows )

 foreach( UltraGridChildBand band in group.ChildBands ) 

  foreach( UltraGridRow item in band.Rows )  { // Some code here ... }  

 

Thanks a lot for your help,

Horea

 

PS

If needed I will provide the sample code.

Parents Reply Children
No Data