ajax.reload() is not reflected in column.data()

ajax.reload() is not reflected in column.data()

cantthinkofonerightnowcantthinkofonerightnow Posts: 7Questions: 3Answers: 0
edited January 10 in Free community support

Hello,

After running ajax.reload the data displayed changes on my table but the following function is not returning the new unique values:

function testFunc () {
var table = $('#myTable').DataTable();
column.data().unique().sort().each( function ( d, j ) {
console.log(d);
} );
}

What would be the cause of this behaviour?

Answers

Sign In or Register to comment.