Add row dynamically ...
Add row dynamically ...
Hello,
In an asp.net MVC application, I generate a table in a view, I see "DataTables" in action. I have button to call a modal form, in this modal, I add a new entry, this entry must be inserted in the table. The table is completely regenerated I do this :
[code]
$('#example').dataTable({
"bPaginate": false,
"bLengthChange": false,
"bFilter": true,
"bSort": false,
"bInfo": false,
"bAutoWidth": false,
"bJQueryUI": true,
"bDestroy": true,
"bRetrieve":true
});
[/code]
but I still receive the datatable warning "DataTable cannot reinitialise DataTable'
Do you have an idea ?
Thanks,
In an asp.net MVC application, I generate a table in a view, I see "DataTables" in action. I have button to call a modal form, in this modal, I add a new entry, this entry must be inserted in the table. The table is completely regenerated I do this :
[code]
$('#example').dataTable({
"bPaginate": false,
"bLengthChange": false,
"bFilter": true,
"bSort": false,
"bInfo": false,
"bAutoWidth": false,
"bJQueryUI": true,
"bDestroy": true,
"bRetrieve":true
});
[/code]
but I still receive the datatable warning "DataTable cannot reinitialise DataTable'
Do you have an idea ?
Thanks,
This discussion has been closed.
Replies