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.
Unfortunately, activation email could not send to your email. Please try again.

GridControl and ScrollViewer

Thread ID:

Created:

Updated:

Platform:

Replies:

94616 May 24,2010 08:07 AM May 25,2010 11:43 PM WPF 2
loading
Tags: GridControl
Puthirak OM
Asked On May 24, 2010 08:07 AM

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

Puthirak OM
Replied On May 24, 2010 11:23 AM

Hi,

Forget my question.

InvalidateMeasure();
InvalidateArrange();

seems to do the job.

Sorry,
P.OM
Reportive SA

Karthik Vishnu R [Syncfusion]
Replied On May 25, 2010 11:43 PM

Hi Puthirak,

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

Regards,
Karthik

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;