Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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



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

  • 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