Giving a row a custom Id

Giving a row a custom Id

sknechtsknecht Posts: 2Questions: 1Answers: 0

I get new data over websockets and i can add these data with:

 var t = $('#example').DataTable();    
 t.row.add( [id, name,dataset] ).draw( false );

but i also receive the id of the data that needs to be removed from the table. How can i give the row an ID so that i can remove it later on. I only found the way to click on it.. but i don't want any user interaction.

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.