PHP Classes

File: assets/plugins/datatables/extensions/ColVis/

Recommend this page to a friend!
  Classes of Kishor Mali  >  PHP User Feedback System  >  assets/plugins/datatables/extensions/ColVis/  >  Download  
File: assets/plugins/datatables/extensions/ColVis/
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP User Feedback System
Application to record feedback from customers
Author: By
Last change:
Date: 1 year ago
Size: 1,259 bytes


Class file image Download


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:

  • Dynamically show and hide columns in a table
  • Very easy integration with DataTables
  • Ability to exclude columns from being either hidden or shown
  • Save saving integration with DataTables


To use ColVis, first download DataTables ( ) 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.

Basic usage

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'
    } );
} );

Documentation / support

  • Documentation:
  • DataTables support forums:


If you fancy getting involved with the development of ColVis and help make it better, please refer to its GitHub repo:

For more information send a message to info at phpclasses dot org.