I'd like to add custom filters, which would look and behave like tabs. So, I'd like to know how I might be able to hook into the existing search.
That is, I see that checkbox filters have an event that triggers `checkboxSearch.call(jQuery(this), columnIndex, checkboxesDivId)`. So, I'd like add a listener to my custom filter elements that would call checkboxSearch. However, I'm not sure how to get access to `jQuery(this)` object or `checkboxesDivId` to pass to it.
I'd like to add custom filters, which would look and behave like tabs. So, I'd like to know how I might be able to hook into the existing search.
That is, I see that checkbox filters have an event that triggers `checkboxSearch.call(jQuery(this), columnIndex, checkboxesDivId)`. So, I'd like add a listener to my custom filter elements that would call checkboxSearch. However, I'm not sure how to get access to `jQuery(this)` object or `checkboxesDivId` to pass to it.
Any assistance would be appreciated.
```
jQuery('#wdt-frontend-modal input.wdt-checkbox-filter').off('change').on('change', function() {
checkboxSearch.call(jQuery(this), columnIndex, checkboxesDivId)
});
```
Hi Pea,
Sorry to disappoint you, but at this time, we don't have any custom excample to show how you could try to achieve this.
If you have coding skills and wish to try to make a custom solution,
you can check out our available hooks for Developers on this documentation and see if you can find any hook that might help.
We also added this new developer's handbook, which can allow users with coding skills to make custom add-ons.
Our developers will keep adding more custom hooks/examples there over time.
Please be advised that custom solutions with hooks are not included in our support.
You can also research resources such as Stack Overflow to see if any other user perhaps found a workaround.
( We do like to give examples for certain solutions, but for this use-case, we, unfortunately, don't have anything yet)
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables