DataTables logo DataTables

This site contains the legacy documentation for DataTables v1.9 and earlier for reference only.
DataTables 1.10 is the current release and is now available.

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();
} );