Child Row Background Color
Child Row Background Color
makoychan
Posts: 3Questions: 1Answers: 0
Is there any way to change the background color of child row?
I was doing this
var tr = $(this).closest('tr');
var row = tblResult.row(tr);
can't seem to find a way to change background color of "row"
This discussion has been closed.
Replies
In your child details format function you can use something like this:
<tr style="background-color:#FF0000">'
I added the style to one of my examples here:
http://live.datatables.net/pifugoki/2/edit
Kevin