Brought in following assets that Kevin's EDI project will be using:
[openemr.git] / public / assets / datatables-scroller-1-4-1 / examples / initialisation / state_saving.xml
blob2b310e1300b744af2a04280bde936d97f897a179
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <dt-example table-type="scroller" table-class="display nowrap" order="2">
4 <css lib="datatables scroller" />
5 <js lib="jquery datatables scroller">
6 <![CDATA[
7 $(document).ready(function() {
8         $('#example').DataTable( {
9                 ajax:           "../data/2500.txt",
10                 deferRender:    true,
11                 scrollY:        200,
12                 scrollCollapse: true,
13                 scroller:       true,
14                 stateSave:      true
15         } );
16 } );
17 ]]>
18 </js>
20 <title lib="Scroller">State saving</title>
22 <info><![CDATA[
24 Scroller will automatically integrate with DataTables in order to save the scrolling position of the table, if state saving is enabled in the DataTable (`dt-init stateSave`). This example shows that in practice - to demonstrate, scroll the table and then reload the page.
26 ]]></info>
28 </dt-example>