/home/techb158/immovalet.ca/bower_components/datatables/examples/server_side
NameSizeModeActions
scripts/-0777rm
custom_vars.html116170666editdlrm
defer_loading.html129420666editdlrm
editable.html123630666editdlrm
ids.html113920666editdlrm
jsonp.html116950666editdlrm
object_data.html118060666editdlrm
pipeline.html175000666editdlrm
post.html112260666editdlrm
row_details.html136010666editdlrm
select_rows.html124730666editdlrm
server_side.html166460666editdlrm
Edit: /home/techb158/immovalet.ca/bower_components/datatables/examples/server_side/post.html (11226B)
DataTables example
DataTables server-side processing with POST example

Preamble

The default HTTP method that DataTables uses to get data from the server-side if GET, however, there are times when you may wish to use POST. This is very easy using the sServerMethod initialisation parameter, which is simply set to the HTTP method that you want to use - the default is 'GET' and this example shows 'POST' being used.

Live example

Rendering engine Browser Platform(s) Engine version CSS grade
Loading data from server
Rendering engine Browser Platform(s) Engine version CSS grade

Initialisation code

$(document).ready(function() {
	$('#example').dataTable( {
		"bProcessing": true,
		"bServerSide": true,
		"sAjaxSource": "scripts/post.php",
		"sServerMethod": "POST"
	} );
} );

Server response

The code below shows the latest JSON data that has been returned from the server in response to the Ajax request made by DataTables. This will update as further requests are made.


			
			
			

Other examples