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
60
Programatically expanding only visible Bands in UltraGrid
posted

Hi,

I have an UltraGrid with around 150 Bands and each band has 30 or so child rows. The required operation is for the grid to appear with ALL bands expanded by default. The user can then just scroll down and not have to expand any bands manually. The works fine however the performance is unacceptable in that it takes some 20 seconds to display the whole grid with all expanded bands.

I have optimized as much as possible the formatting that is applied in InitializeLayout and InitializeRow but performance is still a problem.

I have since tried to programatically expand each band in turn if it is visible by checking the ActiveRowScrollRegion but this does not seen to be updated after I expand a particular band. I would have thought that expanding a band will affect the VisibleRows collection of the ActiveScrollRegion as some rows will now be off-screen.

Do you have any advice on how I might acheive the desired results or anything to add to the approaches I have tried?

Many thanks

bish

Parents Reply Children
No Data