mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-12 00:08:48 +01:00
20 lines
643 B
XML
20 lines
643 B
XML
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<dt-example table-type="html-multi">
|
||
|
|
||
|
<css lib="datatables" />
|
||
|
<js lib="jquery" />
|
||
|
<js lib="datatables" />
|
||
|
|
||
|
<title>Multiple tables</title>
|
||
|
<js><![CDATA[
|
||
|
$(document).ready(function() {
|
||
|
$('.dataTable').dataTable();
|
||
|
} );
|
||
|
]]></js>
|
||
|
|
||
|
<info>
|
||
|
Using standard jQuery selector syntax with DataTables it is trivial to initialise multiple tables with a single line of Javascript, as shown below. All tables are completely independent, but share the parameters passed thought the initialiser object (for example if you specific the Spanish language file, all tables will be shown in Spanish).
|
||
|
</info>
|
||
|
|
||
|
</dt-example>
|