transfert data from datatble1 to datatable2
transfert data from datatble1 to datatable2
Hello there,
First I will like to thank all those who helped make this project succeed.
I need your help:
I have a form (form Stepy) in a first step I have a table which is filled by the user and in the second step I want to put a new table that contains the same row of the first table.
I used this:
$('table2').dataTable().fnClearTable();
$('#table2').dataTable().fnAddData($('table1').dataTable().fnGetData());
but I got an error message.
DataTables warning (table id = 'ligne_livraison'): Requested unknown parameter '7' from the data source for row 0
Thank you for helping me find a solution.