Why the child row doesn't open? in DataTables

Why the child row doesn't open? in DataTables

developer96developer96 Posts: 11Questions: 4Answers: 1

Hi all,

I'm trying to attached child rows to a parent row in DataTable. The idea for this is to show additional information for fields date_arrival and date_departure. I'm following the DataTables examples Child rows (show extra / detailed information) (https://datatables.net/examples/api/row_details.html) from the documentation but I can't figure out what I'm missing. The only difference is that I take the data from API and save it to the database first. If someone is able to help will be really appreciated. This is my playground that I prepared: http://live.datatables.net/jadorolu/2/edit

Stela

This question has accepted answers - jump to:

Answers

  • developer96developer96 Posts: 11Questions: 4Answers: 1
    Answer ✓

    I found the solution for this

    The table has the id datatable not example

    and it was just a silly mistake, sometimes I can's see the tree in the forest. Moderators can delete my question.

    Best regards,
    Stela

  • allanallan Posts: 63,214Questions: 1Answers: 10,415 Site admin
    Answer ✓

    Hi Stela,

    Good to hear you got it working! I'll delete your question if you like, but equally others might find it usual if they are having the same issue, so I'd prefer to leave it.

    Allan

This discussion has been closed.