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