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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridControl and ScrollViewer

Thread ID:

Created:

Updated:

Platform:

Replies:

94616 May 24,2010 12:07 PM UTC May 26,2010 03:43 AM UTC WPF 2
loading
Tags: GridControl
Puthirak OM
Asked On May 24, 2010 12:07 PM UTC

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 03:23 PM UTC

Hi,

Forget my question.

InvalidateMeasure();
InvalidateArrange();

seems to do the job.

Sorry,
P.OM
Reportive SA

Karthik Vishnu R [Syncfusion]
Replied On May 26, 2010 03:43 AM UTC

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.

Warning Icon 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.Close Icon

;