mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
31 lines
1.2 KiB
XML
Executable File
31 lines
1.2 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<dt-example table-type="html-wide" table-class="display nowrap" order="5">
|
|
|
|
<css lib="datatables responsive" />
|
|
<js lib="jquery datatables responsive">
|
|
<![CDATA[
|
|
|
|
$.extend( $.fn.dataTable.defaults, {
|
|
responsive: true
|
|
} );
|
|
|
|
$(document).ready(function() {
|
|
$('#example').DataTable();
|
|
} );
|
|
|
|
]]>
|
|
</js>
|
|
|
|
<title lib="Responsive">Default initialisation</title>
|
|
|
|
<info>< set.
|
|
|
|
Extending that ability, Responsive can also be set to initialise by default, as shown in this example thorugh the `$.fn.dataTable.defaults.responsive` property. Extending that, [all of the Responsive options](//datatables.net/extensions/responsive/reference/option/) can also be set using this configuration option (i.e. use `responsive` as an object).
|
|
|
|
]]></info>
|
|
|
|
</dt-example>
|
|
|