Topic: Specify multiple clauses when searching datatable
mohammad-amnan-amani.mohammad-fauzi@evonik.com
pro premium priority asked a day ago
Is there a way I can specify multiple clauses when searching the datatable? Currently it looks like it only allows the user to specify only 1 clause, e.g. son in:name, country
as outlined in the documentation https://mdbootstrap.com/docs/angular/data/datatables/
I would like to do something like son in:name, 100 in:salary, asia in:continent
where I can specify multiple clauses, much like how WHERE clauses work in SQL databases.
Arkadiusz Idzikowski
staff answered 17 hours ago
We do not have such an example in our documentation, but as you can see in the Advanced search example, we allow to define a custom filtering function that will be used by the component. You should be able to adjust this function to your needs.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 7.1.0
- Device: PC
- Browser: All
- OS: Windows
- Provided sample code: No
- Provided link: Yes