Show list/data grid/data view of instances of an entity for which a certain value of an attribute (enumeration) is true
0
I am wondering how I can show a list of Persons with a certain value of an attribute (enumeration). So I want there to be a data grid/ data view/list view in which only persons are displayed with a certain value for one of their attributes (which is an enumeration). This should be default, so not achieved by searching for this specific value. Thanks!
asked
Nikki Theeuwes
1 answers
1
Nikki,
You can use xpath for this.
[someenumerationattribute = 'someenumerationvalue']
Another option is to set the default
value in the search fields, that way
the list is filtered on the enum but
can be changed by the user if
needed.
Alternatively you could set the
search filed with the default value
as hidden en get the same result as
the xpath expression.