Topic: How to create search in table that has a data from json
jzambranoMDB priority asked 1 year ago
Expected behavior
I saw this example https://mdbootstrap.com/docs/standard/data/datatables and I want to create search, please could you help me, I dont know if use advanced search or what.
could you give a example
Thanks
Actual behavior
Resources (screenshots, code snippets etc.)
Kamila Pieńkowska staff answered 1 year ago
There is no difference in how you pass your data to the table. You will create a search the same way. Whether you use regular or advanced search depends on how you want it to work.
To set up a search, you need to add input in HTML and a listener to it that will run a search on input.
Example: https://mdbootstrap.com/docs/standard/data/datatables#section-search
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.4.1
- Device: Pc
- Browser: Edge
- OS: windows
- Provided sample code: No
- Provided link: Yes