patternfly
Version:
This reference implementation of PatternFly is based on [Bootstrap v3](http://getbootstrap.com/). Think of PatternFly as a "skinned" version of Bootstrap with additional components and customizations.
27 lines (20 loc) • 769 B
text/xml
<dt-example table-type="html" order="9">
<css lib="datatables colreorder colvis" />
<js lib="jquery datatables colreorder colvis">
<![CDATA[
$(document).ready(function() {
var table = $('#example').DataTable( {
dom: 'RC<"clear">lfrtip',
columnDefs: [
{ visible: false, targets: 1 }
]
} );
} );
]]>
</js>
<title lib="ColReorder">ColVis integration</title>
<info>< for DataTables by updating the order of the list of columns whenever a reorder is done. This is shown in the example below, where one column has been initially hidden to add extra emphasis to ColVis.
]]></info>
</dt-example>