Disable Scrolling

When I use ColumnSizer="Star", it shows scroll bar even when its not required. Is there a way to disable Scroll Bar vertically and horizontally. ?

Or is there an option to adjust column width manually. 

1 Reply

SS Sivaraman Sivagurunathan Syncfusion Team February 27, 2020 08:09 AM UTC

Hi Emad, 
 
Thank you for contacting Syncfusion support.  
 
We have checked your query.  
 
When I use ColumnSizer="Star", it shows scroll bar even when it’s not required 
If you set the ColumnSizer as Star the horizontal Scrollbar never shown. Based on the RowCount and ViewPortSize of the SfDataGrid the VericalScroll is visible. 
 
 
 
Is there a way to disable Scroll Bar vertically and horizontally. ? 
 
Currently, we don’t have support for customize Scrollbar. We have already logged feature request for the same. 
 
You can also communicate with us regarding the open features any time using our Feature Report page 
 
is there an option to adjust column width manually. 
Yes we have option to adjust the column with manually for that you need to set the  Width property in GridColumn. If you are generate the column manually you can set the column width for each individual column. Or if you are set AutoGenerateColumns as true. You can set the column width by triggering  the AutoGeneratingColumn event. 
 
Please refer the UG Link: 
 
  
 
 
 
Please let us know if you need any further details on this.  
 
Regards, 
Sivaraman 
 


Loader.
Up arrow icon