get row index using unique column value
get row index using unique column value
rndinf
Posts: 9Questions: 0Answers: 0
I have a table which has "ID" column that displays values from the database table.
Need help with jquery selector to get the index of the row in the datatable using ID column value
For eg, row with ID = 3 may be displayed as row 10 in the table to need that rows index to use in
fnGetData ( rowIndex)
Need help with jquery selector to get the index of the row in the datatable using ID column value
For eg, row with ID = 3 may be displayed as row 10 in the table to need that rows index to use in
fnGetData ( rowIndex)
This discussion has been closed.
Replies
Also I am loading the datatable with bServerSide as false ( default)
I tried using jQuery selector as below, but didnt work, any pointers will help
oTable.fnGetPosition($("#mytable tbody td:eq(myColTxt)")[0]);
http://datatables.net/plug-ins/api#fnFindCellRowIndexes