Enhances a given control prototype with consolidated handling for external IFilter integration
The following methods are available:
setFilter
- The setter for the filter
association_validateFilter
- Validates the provided IFilter
control instance and may return an errorcheckAndRebind
- Executes a the rebind
method for the given control instance.To use the FilterIntegrationMixin, the implementing Control requires the filter
associaton.
Additionally, the following methods are necessary to be implemented:
rebind
isFilteringEnabled
Hooks that are called by the FilterIntegrationMixin if implemented in the control.
_onFilterProvided(oFilter: sap.ui.mdc.IFilter)
- Notifies the control that a valid filter
association has been provided. The provided filter instance is passed._onFilterRemoved(oFilter: sap.ui.mdc.IFilter)
- Notifies the control that the filter
association has been removed. The removed filter instance is passed._onFiltersChanged(oEvent)
- Called when the search
event of the filter is fired. The event object is passed._onFilterSearch(oEvent)
- Called when the filtersChanged
event of the filter is fired. The event object is passed.Node | Description |
---|
Method | Description |
---|