Retail:Developers Guide/How-to/Advanced filters components
How to create Advanced filters components
In order to reuse the advanced filters selectors in other places of WebPOS, has been created three components:
- OB.UI.ModalSelector: The new selectors must be extends from this component.
- OB.UI.FilterSelectorTableHeader: This component allow to show a combobox filled with preconfigured filters and a input text or selector to enter filter criteria, it is combined with advanced filter dialog. And manage the buttons search and clear.
- OB.UI.ModalAdvancedFilters: This modal form allow enter filters for the fields defined on the filter model definition.