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.

Sync horizontal scroll of winRT datagrid with a scroll viewer

Thread ID:

Created:

Updated:

Platform:

Replies:

114474 Nov 20,2013 03:24 PM Nov 25,2013 12:51 AM WinRT 3
loading
Tags: SfDataGrid
Gary Pansino
Asked On November 20, 2013 03:24 PM

I have a datagrid with 50 columns that lines up with a scrollviewer also with 50 columns of the same size.  How can I sync the horizontal scroll such that scrolling either will scroll both.  Code behind or XAML binding is equally OK for me.

Thanks


Jai Ganesh S [Syncfusion]
Replied On November 22, 2013 07:26 AM

Hi Gary,

 

Thanks for using Syncfusion products.

 

We have analyzed your query. You can achieve your requirement from code behind by wiring the ScrollViewer’s ViewChanged event to scroll the both ScrollViewer horizontally. We have prepared the sample based on this and please find the sample under the following location,

 

Sample: ScrollViewerSample.zip

 

Please let us know if you need further assistance.

 

Thank you,

Jai Ganesh S


Gary Pansino
Replied On November 22, 2013 03:28 PM

Works perfectly.  Thanks.

Narayanasamy J [Syncfusion]
Replied On November 25, 2013 12:51 AM

Hi Gary,


Thank you for your update.


Please let us know if you need further assistance.


Regards,

Narayanasamy


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.

;