mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-04 16:24:11 +01:00
24 lines
551 B
XML
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>
|