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

Sync horizontal scroll of winRT datagrid with a scroll viewer

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.


3 Replies

JG Jai Ganesh S Syncfusion Team 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

GP Gary Pansino November 22, 2013 08:28 PM UTC

Works perfectly.  Thanks.

NJ Narayanasamy J Syncfusion Team November 25, 2013 05:51 AM UTC

Hi Gary,

Thank you for your update.

Please let us know if you need further assistance.



Live Chat Icon For mobile
Up arrow icon