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.

Scroll bars

Thread ID:

Created:

Updated:

Platform:

Replies:

132996 Oct 3,2017 09:57 AM Oct 5,2017 02:25 AM WPF 3
loading
Tags: SfDataGrid
josep
Asked On October 3, 2017 09:57 AM

Hi folks,

I use this xaml code for basic grid:

        <syncfusion:SfDataGrid x:Name="data"
                        AutoGenerateColumns="true"
                        AllowResizingColumns="True"
                        AllowSorting="True"
                        ColumnSizer="Star">

I fill it in code behind.

How can I show both scroll bars for mouse scrolling ?

Cheers

Gnanasownthari Thirugnanam [Syncfusion]
Replied On October 4, 2017 02:00 PM

Hi Folks,  
  
Thank you for contacting Syncfusion support.  
  
We have found that ColumnSizer as star in your given code snippet. If you are setting ColumnSizer as star in SfDataGrid it divides the total width equally for all columns so horizontal scroll bar is not enabled. But you can enable the horizonal scroll bar by setting ColumnSizer as None instead of ColumnSizer as star in your application. 

By default in SfDataGrid Vertical scroll bar is enabled while no of rows height is exceeded the total height in SfDataGrid.  

We have prepared the sample based on your given code snippet, you can download the same from below mentioned location. 
  
Sample location: 
  
Please refer the below UG link for more details about ColumnSizer. 
  
Please let us know if you need any further assistance on this. 
  
Regards, 
Gnanasownthari T. 
 


josep
Replied On October 4, 2017 02:19 PM

Thanks. Your solutions solved the issue


Gnanasownthari Thirugnanam [Syncfusion]
Replied On October 5, 2017 02:25 AM

Hi Folks, 
 
Thank you for your update. 
 
Please let us know if you have any further assistance on this. 
 
Regards, 
Gnanasownthari T. 


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.

;