Child row's width equals parent row's width

Child row's width equals parent row's width

neba0317neba0317 Posts: 1Questions: 1Answers: 0

This is my problem I have to change this child row's width to equals parent row's width. How can I do this

my code same as this link's code https://datatables.net/examples/api/row_details.html

Answers

  • allanallan Posts: 63,213Questions: 1Answers: 10,415 Site admin

    You probably need to add something like:

    td table {
      width: 100%;
    }
    

    into your CSS. The browser will automatically attempt to make table's as thin as possible unless told otherwise.

    Allan

This discussion has been closed.