Articles in this section
Category / Section

How to disable the Scrollpanel inside Listbox?

1 min read

When you enable allowScrolling API in ejmListBox, a scroll object is created inside ejmListBox wrapper. By getting the instance of that object, you can enable/disable the horizontal scrolling. This is achieved using the following code example.

Script

<script>

    var scroll_instance = $('#templatelist_scroll').ejmScrollPanel('instance');

    scroll_instance.model.enableHrScroll = false;

</script>

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied