Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81729

how to correctly determine the row index when searching

$
0
0

I need to find the index of the row that contains certain information in the 1st column.I tried to solve this problem with such code.

var table=$('#goods').DataTable();
        var row=table.search(id_good);
        var i=table.row(row).index;

But I didn’t succeed. Where did I make a mistake?


Viewing all articles
Browse latest Browse all 81729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>