How can I get the button.dtsp-clearAll selector
How can I get the button.dtsp-clearAll selector
leprimo
Posts: 25Questions: 4Answers: 0
in SearchPanes
Hello,
I would like to bind a function to these button. I am not able to address it correctly. I have already tried many possibilities in vain.
It would be very kind if someone could give me the decisive tip.
Thank you
Dirk
This discussion has been closed.
Answers
You can add an event handler, by just doing something like:
or am I misunderstanding your question?
Colin
Hi Colin,
That's how I do it and I have already extended the selector, but there is no reaction to this SearchPanes-Button.
That's why I asked, maybe there's a trick?
Dirk
by the way, the clearAll event for the SearchPanes is executed
One more explanation:
When clicking on the clearAll button I would like to reset the SearchPanes (that works) AND delete the DataTables-filter (for that I need the additional event).
Are you using nightly builds or release builds? And can you please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin