DataTables logo DataTables

This site contains the legacy documentation for DataTables v1.9 and earlier for reference only.
DataTables 1.9 was End Of Life in 2014. Do not use it for new work.
The current release of DataTables can always be found on DataTables.net.

API

fnUpdate
Show details
This method will redraw the fixed elements based on the current information available to DataTables. This can be quite useful for when the table has been updated by an external source and this must be reflected in the fixed elements.
Default:
Input parameters: void
Return parameter: void
Code example:
$(document).ready( function () {
	var oTable = $('#example').dataTable();
	var oFH = new $.fn.dataTable.FixedHeader( oTable );
	
	$('#example thead th:eq(0)').html('First column');
	oFH.fnUpdate();
} );