Interface for controls or entities which can serve as filters in the sap.ui.mdc.Table
& sap.ui.mdc.Chart
.
The following methods need to be implemented:
getConditions
- Part of the sap.ui.mdc.IFilterSource interface.validate
- The validate
method should return a promise which resolves after the IFilter interface has handled its inner validation. The getConditions
method will be called subsequently by the filtered control.getSearch
- Note: The getSearch
method can optionally be implemented and should return a string for approximate string matching implemented in the backend.The following events need to be implemented:
search
- This event should be fired once a filtering should be executed on the IFilter using control.filtersChanged
- Note: The filtersChanged
event can optionally be implemented and should be fired whenever a filter value has changed. This event will be used to display an overlay on the IFilter consuming control.Event | Description |
---|