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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

To have the VerticalScrollBar always visible?

Thread ID:





117111 Aug 14,2014 08:43 AM UTC Aug 18,2014 12:31 PM UTC WPF 1
Tags: SfDataGrid
Asked On August 14, 2014 08:43 AM UTC


For SfDataGrid, can we make the verticallScrollBar always visible?

I tried the following 2 ways but not really working

1. To have a ScrollViewer to contain the SfDataGrid

<ScrollViewer VerticalScrollBarVisibility="Visible">
For this method, it is true that we can make the VerticalScrollBar always visible, however, it turns out that we can't use the mousewheel to scroll the datagrid.

2. Get the ScrollView inside the SfDataGrid.

I tried to get the ScrollView of the DataGrid with the following piece of code
var scrollView = (ScrollViewer)GridUtil.FindDescendantChildByType(dataGrid, typeof(ScrollViewer));

However, it seems that the scrollViewer doesn't always exist

Farjana Parveen Ayubb [Syncfusion]
Replied On August 18, 2014 12:31 PM UTC

Hi Antony,


Thank you for contacting Syncfusion Support.


We analyzed your query. We can’t use the SfDataGrid inside the ScrollViewer. You can achieve your requirement by using ScrollViewer inside the SfDataGrid.

Please refer the below code example and sample in the following location:


Code Snippet:

    <syncfusion:SfDataGrid x:Name="sfdatagrid" Grid.Row="0"





                               ItemsSource="{Binding Path=Products}"

                               ColumnSizer="Star" />



Farjana Parveen A

Attachment: SfDataGrid_VerticalScrolling_e315948a.zip


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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