1 <?xml version="1.0" encoding="UTF-8" ?>
2 <dt-api library="FixedColumns">
3 <name>fixedColumns().update()</name>
4 <summary>Update the data shown in the FixedColumns</summary>
8 <signature>fixedColumns().update()</signature>
9 <returns type="DataTables.Api">
10 DataTables API instance
13 Redraw the fixed columns, re-reading the data from the source DataTable.
18 If the data in the host DataTable changes, the FixedColumns must be updated to reflect this new data. This method provides the ability, simply redrawing the fixed columns with the latest data in the DataTable.
20 In future this will be automated once DataTables added events for table update actions, but at the moment this method must be called.
23 <example title="Update data in a table and then redraw the fixed columns"><![CDATA[
25 var table = $('#myTable').DataTable();
27 table.cell( 0, 0 ).data( 'New data' ).draw();
28 table.fixedColumns().update();