hey everyone,i am new to use datatable and i am stuck at one point there.

hey everyone,i am new to use datatable and i am stuck at one point there.

akash_123akash_123 Posts: 7Questions: 4Answers: 0
edited November 2019 in Free community support

using datatable i created the table. that's fine.
but I gave the href link to one of tr.
and on that tr, I put bootstrap class="modal" in div tag to show the pop-up.
and in that div, I used another table to open that table with modal popup and its working.
but the table properties(like sorting, pagination) that I applied to the parent table is not applied to the child table.

how can I resolve this problem?

structure of table is like:

<table id="example">                ///parent table
  <thead>
      <tr>
        <th></th>
     </tr>
  </thead>
 <tbody>
    <tr> 
        <td>
               <div class="modal">
                    <table>                        ///child table
                          <tr><th></th></tr>
                          <tr><td></td></tr>
                    </table>
               </div>
       </td>
    </tr>
 </body>

Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

Answers

This discussion has been closed.