Interface LookupFieldFilter<FILTERTYPE>
public interface LookupFieldFilter<FILTERTYPE>
Class for the custom filter component
The component need to call manually the filter action. For example
filterButton.addClickListener(e -> {
if (fieldFilterAction != null) {
fieldFilterAction.filter(new FILTERTYPE);
}
});
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.ComponentvoidsetFilterAction(LookupFieldFilterAction<FILTERTYPE> filterAction)
-
Method Details
-
getComponent
com.vaadin.flow.component.Component getComponent()- Returns:
- Filter component
-
setFilterAction
- Parameters:
filterAction- action to call when you want to filter the grid
-