Previous Thread
Next Thread
Print Thread
XTREE: Multiple filters problem #37507 14 Aug 24 08:56 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content OP
Member
OP Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Good day -

I have a grid with multiple cols that can be filtered on. I would assume that the filters are &and operators b/w data cols which is what i want and would expect... and this works *most* of the time... however, sometimes and w/o any specific reason, if i have a filter set on Col1 and set a filter on Col2 than it adds back the data from Col1 (or unsets the filter). Like I said there is not a good reason that this works or not.. sometimes its the order I request the cols or sometimes its just flat out random. I have tried using the latest ate flavor and ashell 1754. I can update that as well tho we are not that far behind.

Any thoughts? TIA

Re: XTREE: Multiple filters problem [Re: Frank] #37508 14 Aug 24 09:26 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Hmmm...

Yes,, the filters are AND-ed together, i.e. the resulting records should satisfy all of the column filters. Offhand I can't think of a good reason why adding a new column filter should reset an existing column filter. But there were some tweaks to the filtering in 1757, so if your ATE is not at least that, I would strongly suggest using the Help > Check For Updates (which should bring your ATE up to 1760). The server side shouldn't have any bearing on filtering.

The logic and code associated with the filtering is specific to the type of filter for each column, so to maximize my chances of reproducing the problem we should probably start with a recipe that includes the filter types in play (CB, CBX, RANGE, ...). Also, should add that if you were using the old CB filter, I recommend upgrading it to the CBX version, which is I think is cleaner, certainly from the user perspective.

Re: XTREE: Multiple filters problem [Re: Frank] #37509 14 Aug 24 10:19 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content OP
Member
OP Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Gotit thanks will do!


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3