Get row id in columns.render?
Get row id in columns.render?
sergeda
Posts: 42Questions: 16Answers: 0
How is it possible to get row id in columns.render function? I see all the data except id. Also I see row index in this method but how can I get row id with it?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The latest parameter in the function gives access to the data for the whole row. If the id is present, then it will be in there.
Allan
Thank you, I've managed to get it from meta.settings.aoData[0].nTr but maybe in this method should be some easier path to current row?