This is a basic example: http://jsfiddle.net/KFHyG/5 showing the 2 plugins together.
How can I make it so that:
1. This works with more than one filter on the page.
2. jScroller is reinitialise. See I have added the code but doesn’t work correctly.
var scroller = $('.scroller');
scroller.jScrollPane({
verticalDragMinHeight: 60,
verticalDragMaxHeight: 60,
showArrows: true,
arrowScrollOnHover: true
});
jScroller = scroller.data("jsp");
$(".search").keyup(function() {
$.uiTableFilter($("table.searchme"), this.value);
jScroller.reinitialise();
});
For this to work, you need to differentiate both tables and scrollpanes.
Here’s a working example
HTML
JAVASCRIPT