How to have a ChildRow with some data imediatly?
How to have a ChildRow with some data imediatly?
JujuPomme
Posts: 50Questions: 6Answers: 0
Hi all,
It's me again ! (I'm sorry Allan :( )
I've one more question.
I have my datatable with 4 columns, everything is ok, thanks to you Allan.
But I want something a little bit more complicated.
I would like my 4 columns, but for each rows, a ChildRow (with a ( + ) button) with some data inside.
Do you have any link or solution for that?
Thanks,
This discussion has been closed.
Answers
One more precision :
I already have a plus button (with the responsive option) when the screen is too small. So it must be the same button...
Any idea?..
By default Responsive uses the child rows for display, so you can't have your own custom child rows as well. If you want to use Responsive and custom child rows you would need to have Responsive operate in its modal display mode.
Allan
Yep that's it. Do you have a full example to implement this kind of thing?
Julien,
No sorry. There is an example showing the use of modal display in Responsive, and of course the child row display in DataTables. You would need to combine the two.
Allan