Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82314

need a more performant use of the api

$
0
0

given an array of booleans indicating intended column visibility

is there a faster way to set the visibility of each column?

$.fn.dataTable.Api('#table-1').columns().every(function(ndx){
this.visible(weeksVisible[ndx]);
});

thanks,
Al;


Viewing all articles
Browse latest Browse all 82314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>