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">
7 $(document).ready(function() {
8 $('#example').DataTable( {
9 ajax: "../data/2500.txt",
20 <title lib="Scroller">State saving</title>
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.