Scrolling in a Disabled Grid

Hello
How can I enable scrolling in SfDataGrid where IsEnabled or AllowEditing is set to false?
Thank you!

1 Reply

GT Gnanasownthari Thirugnanam Syncfusion Team February 13, 2018 10:09 AM UTC

Hi Martin, 

By default scrolling is enabled in SfDataGrid even when AllowEditing value as false. But while setting IsEnabled as false in SfDataGrid then it should disable the SfDataGrid and its ScrollViewer, because SfDataGrid have its own built-in ScrollViewer within the control. We recommend you won’t use the IsEnabled property and you can use AllowEditing as false to get access for the scroll bar in SfDataGrid. 

We have prepared the sample by enable the scrolling and setting AllowEditing as false, you can download it from below mentioned location. 

Please refer the below User Guide documentation for more details about AllowEditing Property. 

Regards, 
Gnanasownthari T. 
 


Loader.
Up arrow icon