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

Get the current index of the currently selected row

$
0
0

I need to find the current index of the currently selected row (there is exactly one). The rows may be resorted or have search applied to them. I have tried numerous things and nothing seems to work holistically across all of the various search/reordering permutations.

$('#Table').DataTable().row('.selected', { order: 'current', search: 'applied' }).index


Viewing all articles
Browse latest Browse all 83168

Trending Articles



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