Search Builder Clearl All Disappears

Search Builder Clearl All Disappears

trongarttrongart Posts: 222Questions: 51Answers: 0

In this example, I have the searchBuilder and a Reset Search Builder button, which clears everything from the SearchBuilder: https://live.datatables.net/befiyura/1/edit

However, the built in Clear All buttons of the SearchBuilder disappears with following steps:

1) Click on Add Condition -> Clear All Button is there
2) Click on Reset Search Builder
3) Click on Add Condition again -> Clear All Button is no longer there
Add more conditions and the button does not appear
If I click on Reset Search Builder again, the Clear All Button comes back, but the Search Builder is not cleared so I need to click on Reset Search Builder again.

Is there an issue with table.searchBuilder.rebuild({}); as my understanding was that it clears the SearchBuilder?

Answers

Sign In or Register to comment.