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.
Syncfusion Feedback

Sync horizontal scroll of winRT datagrid with a scroll viewer

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 12:26 PM UTC

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 08:28 PM UTC

Works perfectly.  Thanks.

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

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.

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

;