Data Filtering
- 2 minutes to read
Multiple application scenarios require filtering List Views. For instance, an application’s Security System may prohibit the display of an entire collection in a List View. You may also need to filter a report’s data source when using the Reports Module. The XAF supplies various approaches for filtering. Use this topic to identify the scenario and choose a corresponding solution.
#Basics
To learn how to build filter criteria, refer to the following topics:
- Ways to Build Criteria
- Function Criteria Operators
- Custom Function Criteria Operators
- Object Parameters
#List Views
A List View can be filtered using the following techniques:
- Criteria Property of a List View’s Collection Source
- Criteria Property in the Application Model
- Filters Application Model Node
- ListViewFilter Attribute
- FullTextSearch Action
- Filter Data at Grid Control Level
#List Views in Lookup Property Editors
List Views in Lookup Property Editors can be filtered using the following techniques:
- Adjust Data Sources for Reference and Collection Properties
- Criteria Property of a List View’s Collection Source
- Criteria Property in the Application Model
- How to: Add a Search Action to Lookup Property Editors and Link Pop-up Windows
- Current Object Parameter
- Filter Data at Grid Control Level
#List Views in the Link Action’s Pop-up Windows
List Views in the pop-up windows invoked when using the Link Action (see LinkUnlinkController.LinkAction) can be filtered using the following techniques:
- Adjust Data Sources for Reference and Collection Properties
- Criteria Property of a List View’s Collection Source
- Criteria Property in the Application Model
- How to: Add a Search Action to Lookup Property Editors and Link Pop-up Windows
- Filter Data at Grid Control Level