detail-control/child rows only for certain rows?

detail-control/child rows only for certain rows?

kdar1987kdar1987 Posts: 9Questions: 3Answers: 0

I have used this example to get detail-control / child rows for my datatable.
http://www.datatables.net/examples/api/row_details.html

The only difference is that I use data from one of the hidden columns to populate child rows. However, some cells in that hidden column is blank/null. I want to be able to display the + sign and draw child rows only for those rows in my datatable that have something in the hidden column.

How could I do it? I guess I would have to apply the 'detail-control' class selectively somehow to the first column?

This discussion has been closed.