Scroller default settings for initialisation
Scroller will attempt to automatically calculate the height of rows for it's internal calculations. However the height that is used can be overridden using this parameter.
var oTable = $('#example').dataTable( { "sScrollY": "200px", "sDom": "frtiS", "bDeferRender": true "oScroller": { "rowHeight": 30 } } );
When using server-side processing, Scroller will wait a small amount of time to allow the scrolling to finish before requesting more data from the server. This prevents you from DoSing your own server! The wait time can be configured by this parameter.
var oTable = $('#example').dataTable( { "sScrollY": "200px", "sDom": "frtiS", "bDeferRender": true "oScroller": { "serverWait": 100 } } );
Indicate if Scroller show show trace information on the console or not. This can be useful when debugging Scroller or if just curious as to what it is doing, but should be turned off for production.
var oTable = $('#example').dataTable( { "sScrollY": "200px", "sDom": "frtiS", "bDeferRender": true "oScroller": { "trace": true } } );