Get rowindex of clicked row inside clicked event?
Get rowindex of clicked row inside clicked event?
gbrent
Posts: 7Questions: 2Answers: 0
When using responsive tables this is how I am accessing the onclick event of the chosen row. How can I get the row index of the row I clicked from withinside this function?
$('#tableName tbody').on('click', 'td.details-control', function () {
// How do I get the rowIdx of the row that was clicked here?
}
This discussion has been closed.
Answers
Figuered it out. For future refrence if someone has this question....