Announcement

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

    FilterBuilder display of Boolean field.

    Is there someway to change the display of a Boolean value w/r to the FilterBuilder?

    Currently it renders as a "3-way" checkbox with the word "Value" next to it which makes it a bit awkward. It is also hard to distinguish between the "unchecked" and "unset" values. Can that be disabled so that there is only 2 modes (true/false, aka checked and unchecked)?

    Can the text of "Value" be set somehow if I wanted it to say "True" instead?

    For example could I somehow change it to a choicebox of something like

    True
    False
    Is Null

    You can look at the Nested Filter example in the showcase and select the "Member G8" field to see what I am referring to.

    I am using the latest and greatest RC build (SNAPSHOT_v8.3d_2012-09-24)

    Thank You Kindly.

    #2
    We agree the 3-way toggle doesn't make much sense in the FilterBuilder where you can just remove the clause. We will just switch to a two-way toggle (leaving IS_NULL as a separate operator) and get rid of the "Value" label.

    Comment


      #3
      Thanks for the prompt response!

      Sounds great. Thanks for the response, much appreciated.

      Comment


        #4
        We've made improvements in the SC 8.3d branch to eliminate the "Value" text and set the default value as true--these changes should be in the next nightly build.

        However, as for the other issue, we're not seeing a 3-way checkbox in the Nested Filter sample you mention. One example of a 3-way checkbox is in the FilterEditor of the bottom ListGrid in the sample SmartClient_Explorer.html#dateRangeFilter. If you click on the checkbox above the G8 column in the FilterEditor, and then start hitting the space bar to toggle its state, you'll notice it goes through 3 separate states--unset, false, and true. However, if you do the same thing with the checkbox from a G8 rule in the sample you mention, Nested Filter, you'll see it only cycles through two states--true and false.

        So, we haven't made any change to correct a "3-way checkbox" since we're unable to reproduce that part.

        Comment


          #5
          Thanks

          Thank you for the improvements. You are right about the 3-way checkbox, I think I got mixed up when testing the ListGrid filter vs the FilterBuilder, so that was my mistake.

          Once again, thank you kindly.

          Comment

          Working...
          X