How to create search in table that has a data from json


Topic: How to create search in table that has a data from json

jzambranoMDB pro premium priority asked a 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 a 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


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • 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