Finding a value of a cell of the last row
Finding a value of a cell of the last row
AlexDTables
Posts: 19Questions: 3Answers: 0
I need to get the value of a specific cell of the last row after the table has been rendered with filter, it means, that not all the rows are visible but in the DOM, but I need the value of the last visible row!
How can I achive this, please help, I have already several day searching for a solution without success!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
One way is to use
row()
with arow-selector
that is a jQuery selector. Something liketable.row( ':last-child' ).data();
. For example:http://live.datatables.net/hazaluri/1/edit
Kevin
Thanks Kevin, that helped!