Is it possible to add ID to last added row with jQuery DataTables (e.g., ...) ?
...
$(\'#example\').dataTable().fnA
Here is a more cleaner approach that I found here:
table.row.add( [ ... ] ).node().id = 'myId'; table.draw( false );