javascript - jquery DataTables, error with trying to make every column visible -
var words_data used datatable, , referenced throughout file.
i need make every column visible in words_data. tried use columns().every(...) methods following code...
words_table.columns().every( function() { $(this).visible(true); }); gives error of uncaught typeerror: $(...).visible not function
a little confused on how @ point, unless $(this) doesn't iterate on each column.
use :
this.visible(true); instead of
$(this).visible(true);
Comments
Post a Comment