Filtering on "OR" condition wiht multiple columns

Answered (Verified) This post has 1 verified answer | 2 Replies | 2 Followers Thread's RSS feed.

csnyder_ptb
Points 1,104
Replied On: Wed, May 9 2012 1:34 PM Reply

I've got 6 boolean columns that are displayed as check boxes. (plus a bunch of other columns too)

What I'd like to be able to do is filter on col1=true or col2 is true or col5 is true.

Filtering on "AND" works just fine.  But I need an OR filtering.  Any chance to get this to work?

Otherwise, I'm stuck with a really complex sql statment to make it work.

  • Post Points: 20

Verified Answer

AgentD5
Points 33,384
Answered (Verified) Replied On: Wed, May 9 2012 2:52 PM Reply
Verified by csnyder_ptb

Hi csnyder_ptb,

Filtering is currently not designed to work like this out of the box.  You should submit a feature request.  You can still use our UI, but you'll have to do custom data binding.  Basically, get the RowFilter that we supply in the event, transform it to an 'Or' where filter that you give to the data source and then give that source to us.

regards,

David Young

  • Post Points: 40

All Replies

AgentD5
Points 33,384
Answered (Verified) Replied On: Wed, May 9 2012 2:52 PM Reply
Verified by csnyder_ptb

Hi csnyder_ptb,

Filtering is currently not designed to work like this out of the box.  You should submit a feature request.  You can still use our UI, but you'll have to do custom data binding.  Basically, get the RowFilter that we supply in the event, transform it to an 'Or' where filter that you give to the data source and then give that source to us.

regards,

David Young

  • Post Points: 40
csnyder_ptb
Points 1,104
Replied On: Wed, May 9 2012 3:01 PM Reply

Thanks.  I'll set it up to filter the datasource.  That works, but not as smoothly as your controls do.

  • Post Points: 5
Page 1 of 1 (3 items) | RSS