No "child rows" option
No "child rows" option
ngungo
Posts: 64Questions: 23Answers: 2
Hi,
In child rows, there is a background of details_open.png or details_close.png. I would like to add an option that 'blank' for selective rows that have no effect when click. In other words, of certain rows I wish no child rows. How do I do that? Any hint appreciated. Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I think all you would need to do is remove the
details-control
class from the first cell if there is no data to display. This can be done increatedRow
if your data doesn't change. Something like this (based on the Row Details example):If your data can change then use
rowCallback
instead and add thedetails-control
class back if there is data usingelse
.Kevin
Excellent.
Thank you.