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

Highligt new row

$
0
0
Hi Allan,

I want to highlight the newly added row.

The code below does not work; and manually selecting the row (e.g. $('#tr_14).addClass('succes'); doesn't work either. Do you have a suggestion?

editor.on( 'onCreate', function (e, json, data) {
$('#'+json.id).addClass('success');
});

Viewing all articles
Browse latest Browse all 82001

Trending Articles



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