How do I add class name obtained from server to all rows?
How do I add class name obtained from server to all rows?

I have a checkbox that once clicked will hide all rows with a certain class name throughout all the datatable pages.
My datatable data is fetched serverside and I want each datatable row to obtain its class name from its corresponding database row. I'm just not sure how to add the class name.
My php script echos
{
"data": [
"DT_RowClass" : $row['status'],
"",
"$row['name']",
"$row['status']",
]
}
But then my table just says 'Loading' and no data shows.
This discussion has been closed.
Answers
This is my datatable code
I have created an example here..
http://live.datatables.net/egagaz/23/edit?js,output
This example only applies the row class name to the rows on the current page in view not the entire data set.