I'm a strataframe beginner. I want to load several records on a infragistics grid to make tests.
I use a business binding source.
I want to load 20 000 records. The time to load is very long (around 4-5 min) Is it normal ?
Thanks for your help
David
I think I find the issue of my problem.
It would be indeed an obviousness for you and that's why you didn't talk about it.
In fact, I didn't set the LoadStyle property to LoadOnDemand.
With this line of code, my grid loads in 610 ms. It's great !
this.grdClient.DisplayLayout.LoadStyle = Infragistics.Win.UltraWinGrid.LoadStyle.LoadOnDemand;
Personally I don't use LoadOnDemand as I have grid sorts/filters already setup and I frequently use row summaries which means all rows have to be loaded. When that is the case the grid will override LoadOnDemand and will enforce the pre-loading of all rows - so you will need to be careful as your grid will switch back to preloading all rows if you enable any grid feature that requires all rows to be loaded.
If you notice a drop in grid performance in the future then it is likely a feature has been enabled that requires all rows and the grid will ignore your LoadOnDemand setting.
Aaron
I think many of my grids will have to need to be sorted or have summary.
I was happy of my discovery this morning but I will go on my searchs.