DataTables AJAX

This is a REST API using JSON to pass paged data from the server to the client.

The datatables-ajax component is a client-side binding to a server-side XHR datasource, supporting paging, sorting, and filtering.

The API was designed for the popular DataTables table plug-in for jQuery, and full documentation can be found on the DataTables.net web site:
http://datatables.net/manual/server-side

	<sortable-table pageSize="10">
		<datatables-ajax role="datasource" url="datatables.net/server_processing.php"></datatables-ajax>
	</sortable-table>
	

The server is hosted in the Netherlands, so users outside of Europe might notice extra latency loading data


Basic Use

	<datatables-ajax
		url="http://files.stevenskelton.ca/sortable-table/examples/datatables.net/server_processing.php"
		start=[int]
		length=[int]
		sortColumn=[string]
		sortDescending=[boolean]
		columns='[
			{"name":"first_name"},
			{"name":"last_name"},
			{"name":"position"},
			{"name":"office"},
			{"name":"start_date"},
			{"name":"salary"}
		]'
	></datatables-ajax>
	

Demo