Readme.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # ColVis
  2. 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:
  3. * Dynamically show and hide columns in a table
  4. * Very easy integration with DataTables
  5. * Ability to exclude columns from being either hidden or shown
  6. * Save saving integration with DataTables
  7. # Installation
  8. 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.
  9. # Basic usage
  10. ColVis is initialised using the `C` option that it adds to DataTables' `dom` option. For example:
  11. ```js
  12. $(document).ready( function () {
  13. $('#example').dataTable( {
  14. "dom": 'C<"clear">lfrtip'
  15. } );
  16. } );
  17. ```
  18. # Documentation / support
  19. * Documentation: http://datatables.net/extensions/colvis/
  20. * DataTables support forums: http://datatables.net/forums
  21. # GitHub
  22. 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