I just recently upgraded my projects from ver 8.3 to ver9.1 and have applied all the current releases. I am now experiencing the following two issues i am not able to resolve.
1.) I am currently setting my grid datasource at runtime to generic IList(of T). This was working without issue in the previous version but now is taking and exceptionally long time to load. I read Mike's Perfomance guide document where it indicates that a binding source is now recommended. Can you give me some guidance as to how to set a Bindingsource to a generic IList(of T) or a List(of T)?
2.) All my grids are now displaying a Row Expansion where in the previous version by rows were flush to the left. My grids are single Band grids for the most part without children. I did find the override property of ExpansionIndicator and set this to Never but that just removes the + sign it does not repostion the rows to flush to the left. Is there another property with the new version that needs to be set to remove the row expansion?
My thanks in advance for your help.
I had this exact same issue when I finally did the upgrade from ver 8.3 to ver 10.1 with service release .2013 I was able to resolve both of these issues by setting the grids MaxBandDepth from the default value of 100 to either 1 or 2 (as necessary for the grid) and setting the grids ViewStyle from the default MultiBand to SingleBand as appropriate for the grid.
Setting the MaxBandDepth to a more appropriate number resolved the binding taking an exceptionally long time. And setting the ViewStyle to SingleBand (when appropriate) resolved the Row Expansion issue.
This has needed addressing for some time. In 10.1 I just dragged my data source from the data source tab onto my form and it took 15 minutes to load. Then I changed the maxbanddepth to 2 and it's gone away again, don't ask me why. I assume in another 15 minutes I'll be able to see my grid again. So that's 1/2 hour of my day gone just to put a grid on a form. Even if we could set a preference option saying 'default new grids to X band depth' it would be a big improvement.