table.row( this ).data() no longer works.
table.row( this ).data() no longer works.
![baspromonte](https://secure.gravatar.com/avatar/851a7fd74c0c7828f24ae23bc4887d53/?default=https%3A%2F%2Fvanillicon.com%2F851a7fd74c0c7828f24ae23bc4887d53_200.png&rating=g&size=120)
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