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
close icon

Horizontal Scroll Bar - ejGrid

Is there a way to set a horizonal scroll bar to my ejGrid? I saw settings for vertical, but no horizontal. I ask this question because I have a grid with upwards 20 columns and want to fit on screen.

3 Replies

AR Ajith R Syncfusion Team December 19, 2014 04:52 AM UTC

Hi Ted,


Thanks for using Syncfusion projects.


Query: Is there a way to set a horizontal scroll bar to my ejGrid?


Yes, We can set the scroll width in the scrollSettings property to enable the Horizontal scroll bar in the ejGrid. We would like to let you know that the Horizontal scroll bar will be enabled to the ejGrid, when the scroll width is less than the Grid columns width. Please refer the below code snippet for further details.



<script type="text/javascript">

        $(function () {




                scrollSettings: { width: 886, height: 300 },

                allowScrolling: true,

                columns: [









Please refer the below UG Documentation and online demo link to know further details about scrolling functionality in ejGrid.


UG Documentation: http://help.syncfusion.com/ug/js/default.htm#!documents/scrolling.htm


Online Demo: http://js.syncfusion.com/demos/web/#!/azure/grid/Scrolling


For your convenience we have created a simple sample and the same can be download from the below link.


Sample Link: http://www.syncfusion.com/downloads/support/directtrac/general/Horizontal_Scroll_Grid-973965679.zip


Please let us know if you have any concerns.



Ajith R

TG Ted Getzke December 19, 2014 03:02 PM UTC

Thank you Ajith,
I didn't understand the documentation 100%. I got my grid to function with a horizontal scroll bar now. You have resolved my issue!
Thanks for the sample & links to more specified demos,

AR Ajith R Syncfusion Team December 22, 2014 06:01 AM UTC

Hi Ted,


Thanks for your update.


Query: I didn't understand the documentation 100%.


We considered this requirement “Improvement of UG for ejGrid Scrolling” as improvisation and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.


Support Link: https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents


We are happy to hear that your reported issue has been resolved in your end. Please get back to us if you need any further assistance.



Ajith R

Live Chat Icon For mobile
Up arrow icon