justinmind-logo
 
Upvote 1

Multicategory search

Answered Airuretagoiena 3 years ago

How can a search be performed using a Check List so that the results include all the selected items?


For example in a Check List that includes

- Red

- Green

- Blue


I would like to find items that have some or all of those colours.


Thanks in advance,

Replies (3)
photo
1

What kind of element are you searching? Is this searching through a Data List or Data Grid, or is it some other type of element? The approach will differ depending on which one.

photo
1

Hello Danielle,


It would be a search perfomed on a single column of a Data List.

photo
1

This example should help - it filters the Data List according to if any of the ticked boxes match any values in the 'Status' attribute in the Data Master.

photo
1

Hello Danielle,

Thanks for example but I need to go one step further.

The "status" column being multicategory contains more than one color. For instance: red, green, blue. Could the event do a search by indexing all the colours that an item contains?

photo
1

The expression in that example will work for that case as well.

photo
Leave a Comment
 
Attach a file