In my application whenever there is much data in the Ultra Grid then the scroll bar does not work properly and it seems just like hang.
And if we try to scroll it a bit faster then in response whole application goes to unresponsive state.
Hi Bharat,
What kind of DataSource are you using for your grid? My guess is that your DataSource might be recursive and thus there are an infinite number of bands in the grid and this might cause a problem like you are getting. If that's the case, you could try setting MaxBandDepth to a reasonable number like 5 or 8 and see if that helps.
You might also want to check out the WinGrid Performance Guide for some other tips on making the grid more efficient.
To improve the performance when scrolling large amount of data you could set the ScrollStyle of the WinGrid to Deferred. This will make the grid render rows when scrolling is complete, significantly increasing application usability when dealing with large record quantities. You can set this by using the following line:
ultraGrid1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Deferred;
You may also want to read other performance tips on the following link:
http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/html/WinGrid_Formatting_and_Appearance_based_Performance_Improvement.html
Let me know if you have any additional questions.
Hello Bharat,
Which Infragistics product are you using? You mention Ultra Grid which is a WinForms control but you posted this in the Reporting thread.