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

jmclamenjmclamen Posts: 14Questions: 7Answers: 0
edited December 2022 in Extensions

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

  • allanallan Posts: 61,627Questions: 1Answers: 10,091 Site admin

    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

Sign In or Register to comment.