datatables api().columns by class 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
} );