Brought in following assets that Kevin's EDI project will be using:
[openemr.git] / public / assets / datatables-fixedcolumns-3-2-1 / docs / api / fixedColumns().update().xml
blob020c550ebe07f9d324bcb707ee57addb3e8a6255
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>
5         <since>3.1.0</since>
7         <type type="function">
8                 <signature>fixedColumns().update()</signature>
9                 <returns type="DataTables.Api">
10                         DataTables API instance
11                 </returns>
12                 <description>
13                         Redraw the fixed columns, re-reading the data from the source DataTable.
14                 </description>
15         </type>
17         <description>
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.
21         </description>
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();
30 ]]></example>
31 </dt-api>