Retrieve the index of the row based on rowid of the table
Retrieve the index of the row based on rowid of the table
savinaga
Posts: 1Questions: 1Answers: 0
Hi allan,
i have row id = 484236. I am trying to retrieve its index like this
table.row($("#484236")[0]).index();
but getting that as undefined. Please help me on this
This discussion has been closed.
Answers
Can you link to a test case, per the forum rules please. That should work okay assuming the row is on the current page.
I would suggest simply
table.row( '#484236' ).index()
might be a little easier.Allan