muflo,
you could do this with the fnRowCallback, see http://www.datatables.net/usage/callbacks for usage, but basically
[code]
$('#example').dataTable( {
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
if ( aData[4] == "given word" )
{
$('td:eq(4)', nRow).addClass( 'particular-background-color' );
}
return nRow;
}
} );
[/code]
Replies
you could do this with the fnRowCallback, see http://www.datatables.net/usage/callbacks for usage, but basically
[code]
$('#example').dataTable( {
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
if ( aData[4] == "given word" )
{
$('td:eq(4)', nRow).addClass( 'particular-background-color' );
}
return nRow;
}
} );
[/code]