fnGetData(tr row node) equivalent in 1.10 ?
fnGetData(tr row node) equivalent in 1.10 ?
sapot
Posts: 14Questions: 8Answers: 0
I was using 1.9 and I'm now upgrading but I'm having trouble finding the equivalent for this piece of code:
$("#smOrdersTable tbody tr").on("click.guestRow", (function (e) {
var data = ordersTable.fnGetData(this);
}));
what's the equivalent for that fnGetData call?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Replacing it with:
ordersTable.api().row(this).data()
is that the equivalent?
There is a conversion document available here.
Allan
thanks! that is very helpful, never came across that :\