No "child rows" option
No "child rows" option
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-controlclass from the first cell if there is no data to display. This can be done increatedRowif your data doesn't change. Something like this (based on the Row Details example):If your data can change then use
rowCallbackinstead and add thedetails-controlclass back if there is data usingelse.Kevin
Excellent.
Thank you.