table.row( this ).data() no longer works.
table.row( this ).data() no longer works.
This started with version 1.10.17 and still broken in version 1.10.19. if I pass the this object to the row function it fails yet if i pass the index to the row i want data from it works. example: this works.
table.row(this._DT_CellIndex.row).data();
or
var rowNum = this.parentNode.rowIndex-1;
var data = table.row( this ).data();
or just
table.row( 3 ).data();
before version 1.10.17 this worked perfect as per you documentation. more details of the code i am using below...
please advice
bill a
$('#table').on('click', 'tbody td', function (e) {
e.preventDefault();
var data = table.row( this ).data();
});
Answers
Unfortunately yes, this is a bug. It was reported in this thread and fix committed here.
Its in the nightly now.
Allan