When using mRender as a function callback, how do you reference the TD that the cell will correspond to - for example if I did
but obviously that doesn't work or I wouldnt be posting here :P Just hope it makes it clear what i am trying to do?
"mRender": function(data,type,full) {
if( full.team_colour == 'green' )
{
$(this).parents('td').css('background-color','green');
}
return data;
}
but obviously that doesn't work or I wouldnt be posting here :P Just hope it makes it clear what i am trying to do?