ServerSide Search or filter on selected column

ServerSide Search or filter on selected column

pwc1011pwc1011 Posts: 62Questions: 0Answers: 0
edited January 2010 in General
How would one search on one or more columns, when using server side ajax retrieval?

When I look at your multi-column filtering, it processes the filtering on the client, and the server side search looks like it just passes on field with the search text.

Before I go an extend the api/options, I just want to make sure I'm not missing something.

Thanks!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi pwc1011,

    DataTables will send sSearch_(int) for the column search (passed into fnFilter) to the server-side, so that it can deal with it: http://datatables.net/usage/server-side

    Allan
  • pwc1011pwc1011 Posts: 62Questions: 0Answers: 0
    Darn! I was tracing with firebug and i just saw that... i was jumping over here to say I figured it out and save you having to answer. :)

    Thanks again!!!
This discussion has been closed.