UNPKG

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.

34 lines (26 loc) 892 B
<?xml version="1.0" encoding="UTF-8" ?> <dt-example table-type="html" order="11"> <css lib="datatables colvis" /> <js lib="jquery datatables colvis"> <![CDATA[ $(document).ready(function() { $('#example').DataTable( { dom: 'C<"clear">lfrtip', columnDefs: [ { visible: false, targets: 2 } ], colVis: { restore: "Restore", showAll: "Show all", showNone: "Show none" } } ); } ); ]]> </js> <title lib="ColVis">Restore / show all</title> <info><![CDATA[ This demo of ColVis shows its ability to add "Restore", "Show all" and "Show none" buttons to the list of column visibility options. This is done with the `restore`, `showAll` and `showNone` options which can be enabled individually if needed. For full information about the ColVis options, please refer to the [ColVis options documentation](//datatables.net/extensions/colvis/options). ]]></info> </dt-example>