We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

GridControl and ScrollViewer

Hi,

I'm using a GridControl inside a ScrollViewer.
I've implemented my own Grouping mode (Expand/Collapse of CoveredCells).

I've attached 2 pictures representing the collapsed and expanded states of a gridcontrol.

As you can see, the scrollbar of the scrollviewer doesn't follow the gridcontrol when i collapse a cell.

Is there an API that can force the rearrangement of the gridcontrol and thus make the scrollbar of the scrollviewer stick to the bottom of the gridcontrol?

Thanks,

P.OM
Reportive SA



expanded_collapsed_states_4ff6580b.zip

2 Replies

PO Puthirak OM May 24, 2010 03:23 PM UTC

Hi,

Forget my question.

InvalidateMeasure();
InvalidateArrange();

seems to do the job.

Sorry,
P.OM
Reportive SA


KV Karthik Vishnu R Syncfusion Team May 26, 2010 03:43 AM UTC

Hi Puthirak,

Thanks for the update. Let us know if you need any other details.

Regards,
Karthik

Loader.
Live Chat Icon For mobile
Up arrow icon