gentelella/production/js/datatables/tools/examples/jqueryui.xml

27 lines
732 B
XML
Executable File

<?xml version="1.0" encoding="UTF-8" ?>
<dt-example table-type="html" order="17">
<css lib="jqueryui datatables-jqueryui" />
<js lib="jquery datatables tabletools datatables-jqueryui">
<![CDATA[
$(document).ready(function() {
var table = $('#example').DataTable( {
lengthChange: false
} );
var tt = new $.fn.dataTable.TableTools( table );
$( tt.fnContainer() ).insertBefore('div.dataTables_filter');
} );
]]>
</js>
<title lib="TableTools">jQuery UI styling</title>
<info><![CDATA[
This example shows the TableTools buttons being styled by jQuery UI ThemeRoller. This allows the TableTools buttons to have the same look-and-feel as other buttons on your site if you are already using jQuery UI.
]]></info>
</dt-example>