Get current filter / search?

Get current filter / search?

mindsharemindshare Posts: 6Questions: 0Answers: 0
edited November 2011 in General
Hello - Is there any method for retrieving the current filter(s)? I have built custom controls for fnFilter on multiple column and now I'd like to create a way for users to see what their current filtering is. I looked in fnSettings but I couldn't find the current filter. Any ideas?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    fnSettings().oSearch.sSearch will give you it :-)

    I'm in the process of properly documenting the settings object at the moment...!

    Allan
  • davidsadavidsa Posts: 6Questions: 0Answers: 0
    hi i dont have "fnSettings().oSearch"

    ihave 1.9 version
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Use fnSettings().oPreviousSearch in 1.9
This discussion has been closed.