Filtering in a Drop Down of Search Grid

0
Hi colleagues,   My Entity has an attribute which is an enumeration.  Let’s just say this attribute is a fruit.  Its enumeration is composed of Apple, Banana, Orange, Strawberry, and Watermelon.   Now, in my grid, I made a search in which the type is a drop down.  But I want to display only the Apple, Banana, and Orange.  How would I do that in the Xpath?   Thanks.
asked
2 answers
0

You can't

answered
0

You can’t do this with XPath.  The approach I would use is the create an associated entity with the enumeration and then use that entity as your drop down search.  This way, you can use XPath in the Selectable Objects tab of the drop down search field to limit which enumeration values are displayed as options.

answered