mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Added assets + dependencies
This commit is contained in:
30
bower_components/datatables-responsive/examples/initialisation/default.xml
vendored
Executable file
30
bower_components/datatables-responsive/examples/initialisation/default.xml
vendored
Executable file
@@ -0,0 +1,30 @@
|
||||
<?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>
|
||||
|
||||
Reference in New Issue
Block a user