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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Horizontal Scroll Bar - ejGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

117811 Dec 18,2014 09:07 PM UTC Dec 22,2014 06:01 AM UTC JavaScript 3
loading
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 () {

            $("#Grid").ejGrid({

                ---------

                ---------

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

                allowScrolling: true,

                columns: [

                     ----------

                     ----------

                ]

            });

        });             

</script>

 

 

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.

 

Regards,

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,
 
--Ted

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.

 

Regards,

Ajith R


CONFIRMATION

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.

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

;