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.
26 lines (18 loc) • 829 B
text/xml
<dt-example table-type="html" order="1">
<css lib="datatables colvis" />
<js lib="jquery datatables colvis">
<![CDATA[
$(document).ready(function() {
$('#example').DataTable( {
dom: 'C<"clear">lfrtip'
} );
} );
]]>
</js>
<title lib="ColVis">Basic initialisation</title>
<info><![CDATA[
ColVis is a plug-in for DataTables which presents a list of all columns to a user and allows them to select which ones they wish to be visible. Click the 'Show / hide columns' button to be presented with a list of columns in the table, and click the buttons to show and hide them as you wish.
ColVis is added to a DataTable by specifying the `C` option for `dt-init dom`. The example below shows the ColVis button added to the table with a clearing element after it.
]]></info>
</dt-example>