/home/techb158/immovalet.ca/report/bower_components/datatables/examples/ajax
NameSizeModeActions
sources/-0777rm
ajax.html112340666editdlrm
custom_data_property.html113500666editdlrm
deep.html115120666editdlrm
defer_render.html113210666editdlrm
null_data_source.html111890666editdlrm
objects.html115720666editdlrm
objects_subarrays.html117580666editdlrm
Edit: /home/techb158/immovalet.ca/report/bower_components/datatables/examples/ajax/null_data_source.html (11189B)
DataTables example
DataTables AJAX source example - null data source for a column

Preamble

In some tables it can be useful to not need to specify any data source for a column, as it's content is automatically generated (for example using fnRender). This is fairly common with add, edit and delete columns for a CRUD interface. You can now use the mData set to null to specify that the column has no data source. DataTables will render this column as empty.

Live example

Rendering engine Browser Platform(s) Engine version CSS grade Empty!

Initialisation code

$(document).ready(function() {
	var oTable = $('#example').dataTable( {
		"bProcessing": true,
		"sAjaxSource": "sources/arrays.txt",
		"aoColumns": [
			null,
			null,
			null,
			null,
			null,
			{ "mData": null }
		]
	} );
} );

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