X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=webapp%2Fresources%2Fdatatables-1.9.4%2Fextras%2FColVis%2Fexclude_columns.html;fp=webapp%2Fresources%2Fdatatables-1.9.4%2Fextras%2FColVis%2Fexclude_columns.html;h=bf6756c076d6a2f930217f22f76067b8cb3af7b1;hb=9bb6ee99ca7f738fac1087190b5481b8fe6e8d9f;hp=0000000000000000000000000000000000000000;hpb=2e3f6b76be585306f1003d849831840c0adb3360;p=proteocache.git diff --git a/webapp/resources/datatables-1.9.4/extras/ColVis/exclude_columns.html b/webapp/resources/datatables-1.9.4/extras/ColVis/exclude_columns.html new file mode 100755 index 0000000..bf6756c --- /dev/null +++ b/webapp/resources/datatables-1.9.4/extras/ColVis/exclude_columns.html @@ -0,0 +1,500 @@ + + +
+ + + +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.
+ +$(document).ready( function () { + $('#example').dataTable( { + "sDom": 'C<"clear">lfrtip', + "oColVis": { + "aiExclude": [ 0 ] + } + } ); +} );+ + +