Need child rows to be initialized with datatable

Need child rows to be initialized with datatable

YoznaYozna Posts: 2Questions: 0Answers: 0

Hi

I have huge data to display in parent table and also in the table which gets loaded on expanding every row. I want the child rows to display data in datatable format. But when I try to initialize the table of child row with datatable, all its rows and columns data is lost. Otherwise, if I display a simple html table on expanding the row of parent table, then the table is loaded properly with data.

Can anyone help me out with this.

Thanks
Yozna

Replies

  • YoznaYozna Posts: 2Questions: 0Answers: 0

    Hi,

    I am trying to use the code like this on my ajax request success:
    ...
    row.child(format(data) ).show();
    $('.ytable' ).DataTable();
    ...
    Thanks
    Yozna

This discussion has been closed.