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

On createdRow

$
0
0

Hi,
i am using createdRow in order to highlight previous selection of user.
The problem is that in debugging i see the correct row with highlight (active in bootstrap) but when all the table finish to render the highlighted row jump to the next row.
my code:
'''"createdRow": function (row, data, index) { '''
''' if (tmpCustomers.indexOf(data[2]) !== -1) { '''
''' $(row).addClass('active'); '''
''' } '''
''' } '''
thanks for any help


Viewing all articles
Browse latest Browse all 82036

Trending Articles



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