<script>
	$("#{{ identity }}").hide();  // Avoid table "flickering" (see "initComplete" below)
	$(document).ready(function() {$("#{{ identity }}").
																	DataTable({lengthMenu: {{ length_menu }},
																						 pageLength: {{ page_length }},
																						 searching: {{ searching }},
																						 paging: {{ paging }},
																						 info: {{ info }},
																						 {% if order %}order: [{{ order }}]{% else %}ordering: false{% endif %},
																						 columns: {{ columns }},
																						 stateSave: true,
																						 initComplete: function()
																		{
																			$("#{{ identity }}").addClass("cell-border compact stripe");
																			$("#{{ identity }}").show();
																			$("#{{ identity }}").DataTable().columns.adjust();
																		}
																	});});
</script>
