setting id a td element of a newly added row
setting id a td element of a newly added row

I am adding a row in an already initialised datatable using : row.add(array)
lets say my table has 5 columns, so i want to add id on the first td element of the newly added row. how do i do that?it
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This thread should help, it's asking the same thing.
Cheers,
Colin
That is a tr tag. i want to set id for td tag.
That example shows how to get the row node. It's standard jQuery then to get the td...
http://live.datatables.net/cifayala/1/edit
Colin