Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35371

How do you add a row via rows().add at the bottom of the table?

$
0
0

I have a table defined which retrieves values from AJAX call.

oTable = $('#myTable').DataTable( .... );

Later in the progam flow I want to dynamically add rows

oTable.row.add( [ ..... ] ).draw();

The row is properly added but it appears on the top, instead of appearing at the bottom.

What is missing to get the new row be added at the bottom instead of at the top?

Thanks,


Viewing all articles
Browse latest Browse all 35371

Trending Articles