Add A class to tr when using add rows
Add A class to tr when using add rows

Im using this example: https://datatables.net/examples/api/add_row.html
how can i add a class to tr of the created element everytime i create the tr element, for example i want to add the class class="created" to each element when they are created
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Take a look at the examples in the docs for
row.add()
androws.add()
to see how to apply a classname.Kevin
gracias Kevin me fue muy útil, Saludos desde la oficina uwu