Autocomplete jquery UI plugin with custom scrollbars -


Does a jquery UI attempt to create custom scroll bars for autocomplete widgets? I'm trying to use the jScrollPane jquery component in combination with the autocomplete widget, but so far no success has been found if some jquier knows about the autocomplete component with a custom scrollbar, or support the jscrollpane component I know how to change the jquery ui autocomplete widget, so I appreciate it.

  • Demo:

  • Updated: 22/09/2015 Updated to all latest versions: jquery 1.11.3, jquery-ui 1.11.4, jScrollPane 2.0.22 < / P>

      .... open: function () {$ ('.ui-autocomplete') width ($ (this). Wide () ); If (undefined! == _jScrollPane) {_jScrollPaneAPI.destroy (); } $ ('.ui-autocomplete & gt; li'). WrapAll ($ ('' div class = "scroll-panel">  ''). Wide ($.) Width ()) .height (_jSheight)); _jScrollPane = $ ('.scroll-panel'). JScrollPane (settings), _jScrollPaneAPI = _jScrollPane.data ('jsp'); }, Close: function (Event, UI) {_jScrollPaneAPI.destroy (); _jScrollPane = Undefined; }, ....   

    Please refer to demo source code for the full work code ... Thank you.

Comments