Close Colvis with a button

Close Colvis with a button

jimboyjimboy Posts: 20Questions: 9Answers: 0

Is there an option to close the Colvis with a button/link? The default hides the Colvis by clicking anywhere in the page.

$(document).ready( function () {
$('#example').DataTable( {
"dom": 'C<"clear">lfrtip'
} );
} );

This discussion has been closed.