SearchPanes Button options Duplicated when Creating DataTable in Child Row

SearchPanes Button options Duplicated when Creating DataTable in Child Row Posts: 37Questions: 8Answers: 1
edited January 2020 in SearchPanes

Ran into a new unusual problem when creating a DataTable as a child row and utilizing SearchPanes in both the "parent" table and the created "child" table.

When a table is created as a child row with it's own searchPanes button, it duplicates the searchPanes selectors of the original parent DataTable.

Example here:,js,output

If you click the "name" column it displays a child row which is itself a DataTable with a searchPane button. The button on the child DataTable works as expected (the example doesn't have any data).

However, after the creation and destruction of the child row, when clicking the searchPane button for the original table the options for the original table are duplicated, and only one of them works. This occurs each time a new child table is created then destroyed.

I'm unsure if there is something I'm doing incorrectly to cause this or if it's a bug. You can see in the code, I've attempted to call the searchPane rebuildPane() function on the main table to try to resolve but it doesn't seem to have any affect.


  • colincolin Posts: 14,961Questions: 1Answers: 2,563

    I'd say something looks wrong there. I've raised it internally (DD-1358 for my reference) and we'll report back here when there's an update.



  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi ,

    We've taken a look at this and made a fix, thanks for spotting the bug.

    I've updated your example to pull in the latest nightly file.


  • Posts: 37Questions: 8Answers: 1

    It indeed seems to be working now.

    Thanks for the awesome support!

This discussion has been closed.