A role resolving to true
for rows matching all its filters. More...
Import Statement: | import Felgo 4.0 |
Since: | Felgo 3.9.0 |
Inherits: |
A FilterRole is a ProxyRole that returns true
for rows matching all its filters.
In the following example, the isAdult
role will be equal to true
if the age
role is superior or equal to 18.
SortFilterProxyModel { sourceModel: personModel proxyRoles: FilterRole { name: "isAdult" RangeFilter { roleName: "age"; minimumValue: 18; minimumInclusive: true } } }
See also FilterContainer.
This property holds the list of filters for this filter role. The data of this role will be equal to the true
if all its filters match the model row, false
otherwise.
See also Filter and FilterContainer.
name : string |
This property holds the role name of the proxy role.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: