Add id to newly added row with fnAddData

Add id to newly added row with fnAddData

webguruwebguru Posts: 16Questions: 0Answers: 0
edited February 2011 in General
Im am trying to figure out how to add an id (or class) to a newly created tr added with the fnAddData function.

Is there a built in way to do this and if not, how do I find the new row's position in the table to add an id manually
[code]$(something here).attr("id","newId");[/code]
This discussion has been closed.