FIlter function

FIlter function

lundstrolundstro Posts: 8Questions: 0Answers: 0
edited October 2010 in General
I have the Filter enabled on two columns.

When I enter a word in the Search form only rows where the word is found i both columns are shown.

Have I understod the function correctly?


Kenneth

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    The filtering works on rows only, not columns. So if the search term matches anything anywhere in the row, it will display the whole row. If you want to modify this behaviour, you'll probably need to use the fnSetColumnVis API function.

    Allan
  • lundstrolundstro Posts: 8Questions: 0Answers: 0
    Have I understod something completly wrong as I´m using bSearchable to decied where to search?
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    bSearchable will stop the information in from being filtered on, but it will not stop the rest of the information in the row from being filtered on. And since it's entirely row based, the columns will not go in and out depending on the search.

    Allan
  • lundstrolundstro Posts: 8Questions: 0Answers: 0
    If I remove the bSearchable the Search function returns zero results.

    If I on site http://test-kal.nudata.fi/init/saleplace write espoo in the Search box I get zero results. I should get at least three rows displayed.

    Could there be something wrong with the source?
  • lundstrolundstro Posts: 8Questions: 0Answers: 0
    The world of Webprogramming never stops to amaze me, today I noticed that the search/filter function works great in IE but not in Firefox.

    IE returns 5 rows as it should when Firefox only returns 1 row.

    Where should I start to look for the problem?


    Kenneth
This discussion has been closed.