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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Horizontal Scroll Bar - ejGrid

Thread ID:





117811 Dec 18,2014 09:07 PM UTC Dec 22,2014 06:01 AM UTC JavaScript 3
Tags: ejGrid
Ted Getzke
Asked On December 18, 2014 09:07 PM UTC

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.

Ajith R [Syncfusion]
Replied On 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

Ted Getzke
Replied On 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,

Ajith R [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon