Bootstrap v3.3.6 Update
This commit is contained in:
@@ -1,15 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<dt-example table-type="html-wide" table-class="table table-striped table-hover dt-responsive" order="1">
|
||||
<dt-example table-type="html-wide" table-class="display dt-responsive nowrap" order="1" framework="bootstrap">
|
||||
|
||||
<css lib="bootstrap datatables-bootstrap responsive">
|
||||
body { font-size: 140% }
|
||||
|
||||
table.dataTable th,
|
||||
table.dataTable td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
</css>
|
||||
<js lib="jquery datatables responsive datatables-bootstrap">
|
||||
<css lib="datatables responsive"/>
|
||||
<js lib="jquery datatables responsive">
|
||||
< framework providing the styling. The [DataTables / Bootstrap integration files](//datatables.net/manual/styling/bootstrap) prove seamless integration for DataTables to be used in a Bootstrap page.
|
||||
This example shows DataTables and the Responsive extension being used with the [Bootstrap](http://getbootstrap.com) framework providing the styling. The [DataTables / Bootstrap integration](//datatables.net/manual/styling/bootstrap) prove seamless integration for DataTables to be used in a Bootstrap page.
|
||||
|
||||
Note that the `dt-responsive` class is used to indicate to the extension that it should be enabled on this page, as `responsive` [has special meaning in Bootstrap](http://getbootstrap.com/css/#tables-responsive). The `r-init responsive` option could also be used if required.
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
<![CDATA[
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable();
|
||||
|
||||
new $.fn.dataTable.Responsive( table );
|
||||
var table = $('#example').DataTable( {
|
||||
responsive: true
|
||||
} );
|
||||
} );
|
||||
|
||||
]]>
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<dt-example table-type="html-wide" table-class="tdisplay responsive" order="2">
|
||||
<dt-example table-type="html-wide" table-class="display responsive nowrap" order="2" framework="foundation">
|
||||
|
||||
<css lib="foundation datatables-foundation responsive">
|
||||
table.dataTable th,
|
||||
table.dataTable td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
</css>
|
||||
<js lib="jquery datatables responsive datatables-foundation">
|
||||
<css lib="datatables responsive"/>
|
||||
<js lib="jquery datatables responsive">
|
||||
< framework providing the styling. The [DataTables / Foundation integration files](//datatables.net/manual/styling/foundation) prove seamless integration for DataTables to be used in a Foundation page.
|
||||
This example shows DataTables and the Responsive extension being used with the [Foundation](http://foundation.zurb.com) framework providing the styling. The [DataTables / Foundation integration](//datatables.net/manual/styling/foundation) prove seamless integration for DataTables to be used in a Foundation page.
|
||||
|
||||
]]></info>
|
||||
|
||||
|
||||
24
bower_components/datatables-responsive/examples/styling/jqueryui.xml
vendored
Normal file
24
bower_components/datatables-responsive/examples/styling/jqueryui.xml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<dt-example table-type="html-wide" table-class="display responsive nowrap" order="3" framework="jqueryui">
|
||||
|
||||
<css lib="datatables responsive"/>
|
||||
<js lib="jquery datatables responsive">
|
||||
<![CDATA[
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
]]>
|
||||
</js>
|
||||
|
||||
<title lib="Responsive">jQuery UI styling</title>
|
||||
|
||||
<info>< providing the base styling information.
|
||||
|
||||
]]></info>
|
||||
|
||||
</dt-example>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<dt-example table-type="html-wide" table-class="display nowrap" order="3">
|
||||
<dt-example table-type="html-wide" table-class="display responsive nowrap" order="5">
|
||||
|
||||
<css lib="datatables responsive">
|
||||
div.container { max-width: 1200px }
|
||||
@@ -12,8 +12,6 @@ $(document).ready(function() {
|
||||
scrollY: 300,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.Responsive( table );
|
||||
} );
|
||||
|
||||
]]>
|
||||
|
||||
Reference in New Issue
Block a user