Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Anthony Nahas on Aug 17, 2009 06:51
open dhtmlx forum
Follow up on filterBy and #select_filter and #text_filter

Hi, I read the posting http://www.dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=10289&ssr=yes&s=filterBy but was unsure about how I could apply that to what I'm doing.

What I have is, many different filters, plus custom checkbox filters (they do an OR filter on one column) that use filterBy to achieve filtering.

How could I take this filter that I've added and get it to work with other filters? It doesn't really work with filters defined on other columns. For instance, if I filter by my checkbox filters, then go to a built-in filter like a textbox filter, the textbox filter will return results even if they are incompatible with the checkbox filter (things that are invisible from the checkbox filter will become visible).

How can I get the filter I wrote, which uses filterBy, to work with the built in filters so that they do an AND between the filters defined on the form, rather than built-in filters showing values that have already been filtered by my filter?

Thanks
Answer posted by Alex (support) on Aug 17, 2009 09:12

Hello, 

  the filterBy method can not be used in this case. The another solution will be sent by email.