Searching The List

Searching The List

ExviterminiExvitermini Posts: 7Questions: 0Answers: 0
edited September 2011 in General
Hello, I have a list that I am listing from a MySQL database. Search at the top right corner works perfectly but I have to type my search query into it. Is there a way to pass the search query on table load instead of having to type it in manually?
I looked inside server_processing.php and theres a variable called 'sSearch'. It seems that sSearch is only set when you type into the Search field. Is there a way to pass the query right into sSearch?

Thanks

Replies

  • ExviterminiExvitermini Posts: 7Questions: 0Answers: 0
    nevermind. i found the solution. Thanks :)

    for future reference: http://datatables.net/api#fnFilter
This discussion has been closed.