Filter (Search) inside Columns

Filter (Search) inside Columns

vinit9vinit9 Posts: 20Questions: 1Answers: 0
edited November 2012 in General
Hey all,

I currently have a server sided script and a client sided script which shows data inside the data table from mySQL. I know want to be able to allow the user to search for "keywords" for example a football teams name and it should show their fixtures.

I genuinely don't understand how to do this. I have looked through the different plug-ins but unsure of how to do this?

I'm unsure where I need to place my initialised code and what I actually need to do to make this work.

I really hope someone can guide me through this mission as I've got the sorting working (which was simple but took me long)

Best Regards.

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    If you are using client-side processing and you want column searching, then you can use a technique like that shown here: http://datatables.net/release-datatables/examples/api/multi_filter.html .

    Allan
  • vinit9vinit9 Posts: 20Questions: 1Answers: 0
    I'm unsure if I need to use that though as I've also got server sided script.

    The server side scripts pulls the data from PHP MyAdmin and the client side displays this data in the tables?
  • vinit9vinit9 Posts: 20Questions: 1Answers: 0
    Could someone please help me set this up?
  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    It would be helpful if you could give us a link to the page so we can see what you are working with. If you are using client-sid processing, then the approach that is in the example is appropriate.
  • vinit9vinit9 Posts: 20Questions: 1Answers: 0
    I would send the link but it's stored locally ..
This discussion has been closed.