Individual column filter: how to clear previous filter

Individual column filter: how to clear previous filter

bikabika Posts: 25Questions: 0Answers: 0
edited October 2010 in General
Hi,

I'm using Individual column filter with ajax, when I search by one column then return results, if I try to search on another column it search within the first returned results, is there a way to stop that and make it search from scratch each time.

thanks

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Certainly is possible - what you need to do is just clear the previous filter. This plug-in ( http://datatables.net/plug-ins/api#fnFilterClear ) will clear all filtering - you could use that, and remove the global filter clear if you wanted to keep the global filter.

    Allan
This discussion has been closed.