Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Logical question in Filter row editor

    Version :SNAPSHOT_v8.3d_2012-07-18/LGPL Development Only (built 2012-07-18)

    Browsers:FF13, IE9

    Problem:
    When using ListGrid filter row editor, the filter data is combined with any existing filter criteria on the grid with an AND, but it does not build up the combined expression with the existing criteria treated as a single unit. So, if the existing criteria is something like “A OR B” and you put in something on the filter bar, you get something like “A OR B AND C” which is wrong because the precedence of AND/OR treats this as “A OR (B AND C)” instead of “(A OR B) AND C”.

    #2
    This should not be happening.
    In our testing this is behaving correctly: If your initial criteria has an "OR" type operator and a couple of sub-criteria, and the user then edits the filter-editor, the resulting criteria consist of a top-level "AND" operator containing the initial criteria as one sub-criterion and the user-entered value as another, as expected.
    In other words, if A OR B was the initial criteria, and the user modified the editor to produce criterion C, the result is:
    [[A OR B] AND C], as it should be.

    If this is definitely not matching your experience it would probably be best if you could post a simple test case we could run to demonstrate the behavior you're seeing along with any steps to reproduce the problem.


    Regards
    Isomorphic Software

    Comment

    Working...
    X