Skip to content

Instantly share code, notes, and snippets.

@godgav
godgav / datatable-infinite-scroll.js
Created September 8, 2012 17:35 — forked from Tocacar/gist:2635086
Infinite scrolling Extension for DataTable Scollable YUI 3.6.0
YUI.add('datatable-iscroll', function(Y){
var iScrollable = Y.DataTable.iScrollable = function() {};
iScrollable.ATTRS = {
scrollPageParam : { value : 'page'},
scrollStartPage : { value : 2 },
sizeParam : { value : 'size' },
scrollPageSize : { value : 10 },
unauthorizedPath : { value : '/' }
};