
Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!
Filters rows matching exactly a value. More...
Import Statement: | import Felgo 3.0 |
Since: | Felgo 2.18.1 |
Inherits: |
A ValueFilter is a simple RoleFilter that accepts rows matching exactly the filter's value
In the following example, only rows with their favorite
role set to true
will be accepted when the checkbox is checked :
CheckBox { id: showOnlyFavoriteCheckBox } SortFilterProxyModel { sourceModel: contactModel filters: ValueFilter { roleName: "favorite" value: true enabled: showOnlyFavoriteCheckBox.checked } }
roleName : string |
This property holds the role name that the filter is using to query the source model's data when filtering items.
value : variant |
This property holds the value used to filter the contents of the source model.
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: