How to have a ChildRow with some data imediatly?

How to have a ChildRow with some data imediatly?

JujuPommeJujuPomme 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,

Answers

  • JujuPommeJujuPomme Posts: 50Questions: 6Answers: 0

    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...

  • JujuPommeJujuPomme Posts: 50Questions: 6Answers: 0

    Any idea?..

  • allanallan Posts: 63,791Questions: 1Answers: 10,513 Site admin

    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

  • JujuPommeJujuPomme Posts: 50Questions: 6Answers: 0

    Yep that's it. Do you have a full example to implement this kind of thing?

    Julien,

  • allanallan Posts: 63,791Questions: 1Answers: 10,513 Site admin

    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

This discussion has been closed.