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