i want to make a rebuild searchpanes and a rebuild datables after duplicate records
i want to make a rebuild searchpanes and a rebuild datables after duplicate records
jmclamen
Posts: 15Questions: 8Answers: 0
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
how rebuild the seachpanel and datatables after duplicate record for update table and seachpanel.
today, i reload the page and i make a new filter with searchPanes
my code :
{
extend: "selected",
text: 'Duplicate',
action: function ( e, dt, node, config ) {
// Start in edit mode, and then change to create
editor
.edit( table.rows( {selected: true} ).indexes(), {
title: 'Duplicate record',
buttons: 'Créer depuis existant'
})
.mode( 'create' ).set("id","");
}
}
Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
Answers
When you submit the duplicate form it should automatically reload the SearchPanes. If that isn't happening for you, can you link me to your page so I can take a look into it please?
Thanks,
Allan