diff --git a/exclude_columns.html b/exclude_columns.html old mode 100755 new mode 100644 index bd74099..c05932d --- a/exclude_columns.html +++ b/exclude_columns.html @@ -18,7 +18,7 @@ $('#example').dataTable( { "sDom": 'C<"clear">lfrtip', "oColVis": { - "aiExclude": [ 0 ] + "amExclude": [ 0 ] } } ); } ); @@ -33,9 +33,9 @@
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 oColVis.aiExclude initialisation 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.
+ visible. This can be done by the oColVis.amExclude initialisation parameter when creating + the DataTable. This array can contain a mix of integers or strings (matching the mDataProp value) + indicating which columns should be excluded. This example shows the first column being excluded.