1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-03 15:24:10 +01:00
DataTables/examples_src/basic_init/scroll_xy.xml
2013-03-11 16:32:28 +00:00

24 lines
551 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<dt-example table-type="html">
<css lib="datatables" />
<js lib="jquery" />
<js lib="datatables" />
<title>Horizontal and vertical scrolling</title>
<js><![CDATA[
$(document).ready(function() {
$('#example').dataTable( {
"scrollY": 200,
"scrollX": "100%",
"scrollXInner": "110%"
} );
} );
]]></js>
<info>
In this example you can see DataTables doing horizontal and vertical scrolling at the same time. Note also that pagination is enabled, and the scrolling accounts for this.
</info>
</dt-example>