datatable table.api().columns() code example
Example: datatables api.columns()
table.columns().every( function () {
var data = this.data();
// ... do something with data(), or this.nodes(), etc
} );
table.columns().every( function () {
var data = this.data();
// ... do something with data(), or this.nodes(), etc
} );