<?xml version="1.0" encoding="UTF-8" ?>
<dt-example table-type="html" order="4">

<css lib="datatables colvis" />
<js lib="jquery datatables colvis">
<![CDATA[
$(document).ready(function() {
	$('#example').DataTable( {
		dom: 'C<"clear">lfrtip',
		colVis: {
			exclude: [ 0 ]
		}
	} );
} );
]]>
</js>

<title lib="ColVis">Exclude columns from list</title>

<info><![CDATA[

It can at times be useful to exclude columns from being in the 'show / hide' list (for example if you have hidden information that the end user shouldn't be able to make visible. This can be done by the `exclude` ColVis configuration parameter when creating the DataTable. This is simply an array of integers, indicating which columns should be excluded. This example shows the first column being excluded.

For full information about the ColVis options, please refer to the [ColVis options documentation](//datatables.net/extensions/colvis/options).

]]></info>

</dt-example>
