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
close icon

Hide vertical scroll

Hi forum,

how can I disable the vertical scrollbar?

regards
Thomas

3 Replies

FP Farjana Parveen Ayubb Syncfusion Team June 27, 2019 05:58 AM UTC

Hi Thomas, 
 
Thank you for using Syncfusion controls. 
 
You can disable the vertical scroll by set the VerticalScrollBarVisibility as Disabled in SfDataGrid. 
 
Please refer the below code example 
 
<syncfusion:SfDataGrid x:Name="dataGrid"   
                       ScrollViewer.VerticalScrollBarVisibility="Disabled" 
                       ItemsSource="{Binding Orders}" /> 
 
 
Regards,
Farjana Parveen A 



TB Thomas Beimel June 27, 2019 07:21 AM UTC

Hi Farjana Parveen A,

thanks for your help.
I found this in the code behind but not as suggestion in the XAML.

But it works in XAML also.

regards
Thomas


FP Farjana Parveen Ayubb Syncfusion Team June 27, 2019 08:43 AM UTC

Hi Thomas, 
 
Thanks for the update. 
 
We are glad to know that the provided solution using XAML worked at your end. Please let us know if you have any further queries on this. We are happy to help you. 
 
Regards, 
Farjana Parveen A 


Loader.
Live Chat Icon For mobile
Up arrow icon