DataTables example

Scroller example - server-side processing

# Preamble

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

- Basic initialisation of Scroller
- State saving
- API - pragmatically move to a row
- Server-side processing with Scroller
- 50'000 rows in a table - client-side generated data