[Solved] - How to hide scrollbar ?

Hi, 
My datatable has 20 columns, when the form show if datagrid.datasouce = mydatatable they will be displayed and the scrollbar will appear. I reset the column width to fit, then the scrollbar disappeared. The problem is that the screen will blink.
How do I turn it off or is there any way to stop updating the screen until everything is complete?

5 Replies

SS Susmitha Sundar Syncfusion Team May 13, 2020 12:20 PM UTC

Hi khanh dang, 
 
Thank you for using Syncfusion controls. 

Based on the provided information, we have checked the reported scenario “While set the AutoSizeColumnsMode as fill, SfDataGrid blinks” and we unable to replicate the issue from end, it is working fine as expected. We have prepared sample for the same, 
 
 
Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us back with the following details, 
·       Issue reproducing video (if possible) 
·       Syncfusion update version 
 
It will be helpful for us to check on it and provide you the solution at the earliest.   
 
Regards, 
Susmitha S 
 



TG The GridLock May 13, 2020 03:34 PM UTC

Hi Susmitha,
After the users select some informations, then they can click button to display the datatable, so the code for creating the datatable will be in the button click code, and the column width will not be equal but they should be fit to the table), now I see the datagrid will blink horizonbar.


SS Susmitha Sundar Syncfusion Team May 14, 2020 03:49 PM UTC

Hi khanh dang, 
  
Thanks for the update. 
 
We have prepared the sample based on your requirement. While we click the button, horizontal scroll bar appears for fraction of second. Can you please confirm, you are facing this issue? 
 
 
Regards, 
Susmitha S 



TG The GridLock May 14, 2020 04:29 PM UTC

Hi Susmitha,
I have seen it, the problem probably lies in the autofit column and using the for loop to adjust the column size.
I adjusted a bit and the problem was solved.


SS Susmitha Sundar Syncfusion Team May 15, 2020 08:58 AM UTC

Hi khanh dang, 
 
Thanks for the update. 
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 
 
Regards, 
Susmitha S 


Loader.
Up arrow icon