Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82291

Getting table data in "preDrawCallback"

$
0
0

I need to get data before it is rendered on the table. My requirement is to have rows in table equal to selected length (10, 15, 25). So I need to add empty data to create the filler rows. Could anyone please help me read table data in "preDrawCallback".

I have done that using "drawCallback", where I get the <tr>s & <td>s but that is causing the scrollbar appear after header resizes. In brief it is causing header alignment issues.

So I need to read & manipulate data before it constructs <tr> & <td>s in "preDrawCallback".


Viewing all articles
Browse latest Browse all 82291

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>