styling a dynamic row?
styling a dynamic row?
tickethead
Posts: 2Questions: 0Answers: 0
Anyone know how to attach a class or a style to a dynamically added row?
I found some code to get the new row,
[code]
var n = oTable.fnSettings().aoData[newRow[0]].nTr;
[/code]
Just can't seem to figure out how to style the thing!
Thanks
I found some code to get the new row,
[code]
var n = oTable.fnSettings().aoData[newRow[0]].nTr;
[/code]
Just can't seem to figure out how to style the thing!
Thanks
This discussion has been closed.
Replies
[code]
n.style.width = "100px";
n.className = "whatever";
[/code]
Allan