ExtJS AJAX

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

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

The API was designed for both version 4 and 5 of Sencha's ExtJS Grid (available free under GPL 3), and full documentation can be found on Sencha's web site.

	<sortable-table pageSize="10">
		<extjs-ajax role="datasource" url="extjs/grid-filter.php"></extjs-ajax>
	</sortable-table>
	

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


Basic Use

	<extjs-ajax
		url="http://files.stevenskelton.ca/sortable-table/examples/extjs/grid-filter.php"
		start=[int]
		length=[int]
		sortColumn=[string]
		sortDescending=[boolean]
		columns='[
			{"name":"id"},
			{"name":"name"},
			{"name":"last"},
			{"name":"volume"},
			{"name":"daily"},
			{"name":"ytd"}
		]'
	></extjs-ajax>
	

Demo