Add row dynamically ...

Add row dynamically ...

Kris-IKris-I Posts: 12Questions: 2Answers: 0
edited September 2010 in General
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,

Replies

  • Kris-IKris-I Posts: 12Questions: 2Answers: 0
    Sorry that's work fine. Probably a cache problem ...
This discussion has been closed.