Is there a way to programmatically apply the ‘pin applied’ and ‘clear values’ options in the filter settings.
We have a number of predefined filters (which the user can combine to produce a detailed filter list) and we would like to automatically pin any current filtered data without the need for the user to open the setting menu and select pin. The current problem is that if the user spends time completing one set of filter data and then forgets to select ‘pin applied’ before selecting an additional predefined filter then they have lost the filter set.
Hi,
Those actions are stored as attributes of the com.haulmont.cuba.gui.components.filter.FilterDelegateImpl prototype bean. Each filter component has its own instance of this bean.
FilterDelegateImpl#pinAppliedAction
and
FilterDelegateImpl#clearValuesAction