I'm using jquery.dataTables and yadcf and cannot find solution on how to restrict filters in multiple columns by selecting one.
For example: https://datatables.net/examples/api/multi_filter_select.html
If I select name from the " Name " filter, then I still get all the possibilities in the " Positions " filter.
What I want to get is eg based on the position selected, only names in the filter options are available which has this position.
Same in the opposite way, if I select name, then only available options in the position filter should be those, which name has associated.
Any advice, please?
{cumulative_filtering: true}
...就是答案
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.