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:
36
bower_components/datatables-responsive/examples/initialisation/ajax.xml
vendored
Executable file
36
bower_components/datatables-responsive/examples/initialisation/ajax.xml
vendored
Executable file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<dt-example table-type="ajax" table-class="display responsive nowrap" order="4">
|
||||
|
||||
<css lib="datatables responsive">
|
||||
div.container { max-width: 1200px }
|
||||
</css>
|
||||
<js lib="jquery datatables responsive">
|
||||
<![CDATA[
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').DataTable( {
|
||||
"ajax": "../../../../examples/ajax/data/objects.txt",
|
||||
"columns": [
|
||||
{ "data": "name" },
|
||||
{ "data": "position" },
|
||||
{ "data": "office" },
|
||||
{ "data": "extn" },
|
||||
{ "data": "start_date" },
|
||||
{ "data": "salary" }
|
||||
]
|
||||
} );
|
||||
} );
|
||||
|
||||
]]>
|
||||
</js>
|
||||
|
||||
<title lib="Responsive">Ajax data</title>
|
||||
|
||||
<info>< in the DataTable. Note that no special initialisation is required. Responsive is enabled by adding the `-string responsive` class to the `-tag table` element.
|
||||
|
||||
]]></info>
|
||||
|
||||
</dt-example>
|
||||
|
Reference in New Issue
Block a user