I have an alarm journal that I'm trying to filter with a dropdown.
Active, cleared, and acked properties for the journal are bound like so:
//active
{Root Container.Container.Filter_State.selectedValue} = -1
||
{Root Container.Container.Filter_State.selectedValue} = 0
||
{Root Container.Container.Filter_State.selectedValue} = 2
//cleared
{Root Container.Container.Filter_State.selectedValue} = -1
||
{Root Container.Container.Filter_State.selectedValue} = 1
||
{Root Container.Container.Filter_State.selectedValue} = 3
//acked
{Root Container.Container.Filter_State.selectedValue} = -1
||
{Root Container.Container.Filter_State.selectedValue} = 2
||
{Root Container.Container.Filter_State.selectedValue} = 3
Is there any way to get these filters to work as an AND instead of an OR? It would be nice if there was a simple BOOL property to toggle that behavior.
I'm guessing I'll have to script it with a property change on the dropdown?