BF-202205051124\Administrator 2b159b6d13 no message | 2 years ago | |
---|---|---|
.. | ||
css | 2 years ago | |
examples | 2 years ago | |
js | 2 years ago | |
License.txt | 2 years ago | |
Readme.md | 2 years ago |
ColVis adds a button to the toolbars around DataTables which gives the end user of the table the ability to dynamically change the visibility of the columns in the table:
To use ColVis, first download DataTables ( http://datatables.net/download ) and place the unzipped ColVis package into a extensions
directory in the DataTables package. This will allow the pages in the examples to operate correctly. To see the examples running, open the examples
directory in your web-browser.
ColVis is initialised using the C
option that it adds to DataTables' dom
option. For example:
$(document).ready( function () {
$('#example').dataTable( {
"dom": 'C<"clear">lfrtip'
} );
} );
If you fancy getting involved with the development of ColVis and help make it better, please refer to its GitHub repo: https://github.com/DataTables/ColVis