How to get text in a cell while iterator through rows
How to get text in a cell while iterator through rows
noob_dt
Posts: 9Questions: 3Answers: 0
Could you please advise how I can get text value of a specified inner cell (td) in datatable while iterator thorugh rows.
I tried something like this but doesn't work:
myTable.iterator('row', function (context, index) {
alert($(this.row(index).columns(2)).data());
alert(this.row(index).columns[2].data());
});
Thank you in advanced.
This discussion has been closed.
Answers
Got the answer:
alert(this.cell(index, 1).data());