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

How to make the Grid scroller's width thinner

Hello,

I'd like to know if there's any property available to set up the width of the scrolling bar in a Grid.

I want it thinner, so the 18px used normally is too big for my needings

Can you give me direction on that?

Thanks in advance.

3 Replies

SA Saravanan Arunachalam Syncfusion Team June 19, 2017 07:24 AM UTC

Hi Hooman, 
Thanks for contacting Synfusion’s support. 
We can customize the scroller and its button size by setting the scrollSetting.scrollerSize and scrollSettings.buttonSize of ejGrid. Please refer to the below code example and api reference link, 
$("#Grid").ejGrid({ 
                . . . 
                scrollSettings: {width: 500, height: 400, scrollerSize: 12, buttonSize: 12 }, 
                 
            }); 
 
 
And also we have created a sample in jsplayground that can be refer from the below link. 
Regards, 
Saravanan A. 



HF Hooman Fazlollahi June 19, 2017 01:54 PM UTC

Thanks Saravanan!



SA Saravanan Arunachalam Syncfusion Team June 20, 2017 04:50 AM UTC

Hi Hooman,  
Thanks for your update.            
We are happy that the provided information helped you. 
Regards, 
Saravanan A. 


Loader.
Live Chat Icon For mobile
Up arrow icon