Scroller example - server-side processing


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 (200mS by default). This prevents you from DoSing your own server! This example shows Scroller in action with a database of 10'000 records, although of course server-side processing can scale much larger if you require.

Live example

ID First name Last name ZIP Country

Initialisation code

$(document).ready(function() {
	var oTable = $('#example').dataTable( {
		"sScrollY": "200px",
		"sAjaxSource": "media/data/server_processing.php",
		"bServerSide": true,
		"sDom": "frtiS"
	} );
} );

Other examples