SearchPanes button not working
SearchPanes button not working
didcomsergio
Posts: 15Questions: 4Answers: 0
Hi, i was trying to use a searchpanebutton on my datatable but when i click it, it only appear a "Loading SearchPanes... No SearchPanes" message.
here its a replicate case of my problem: https://live.datatables.net/muweboze/10/edit?html,js,output
picture of my app:
Replies
Take a look at this example. It says this:
The
button.searchPanes
docs have this:Basically that is saying to use the
button.searchPanes.config
to configure the searchPanes options instead of thesearchPanes
. Also remove theP
searchPanesdom
option as you are now using the button. Here is the updated example with these changes.https://live.datatables.net/vumiweqe/1/edit
Kevin
the previos example works perfectly but when i try to add the text attribute to the button had some issue, the text i wrote its replace by the SearchPane text when clicking.
How can i keep the text attribute?
example: https://live.datatables.net/vumiweqe/3/edit?html,js
The title is different for the SearchPanes button, as it's dynamic and changes based upon the number of options selected. To change the text there, you need to modify the language settings. This example clearly demonstrates that.
Colin