Server Side. Ignoring 1 or more columns for display
Server Side. Ignoring 1 or more columns for display

When working serverside, I build the aaData array with 9 columns. But the table only displays the first 8
I use the 9th column to check if person's sex is male or female and then set row's bgcolor (I don't want to show "sex" column)
"fnCreatedRow": function( nRow, aData, iDataIndex ) {
if (aData[8] == "F")
{
$('td:eq(0)', nRow).css('background-color', "#FFBBD0");
}
}
Is this the correct way to handle this? I mean, should I send from JSON controller the ignored columns at the end of the aaData array? Or Is there a better example about how to receive more columns than displayed, and to use the ignored columns for other stuff...
Hope you've understood my idea.
Thanks a lot in advance