T - Data item typeFILTER - Query filter typeC - Concrete configurator typepublic interface HasFilterableDataProviderConfigurator<T,FILTER,C extends HasFilterableDataProviderConfigurator<T,FILTER,C>> extends HasItemsConfigurator<T,C>
HasFilterableDataProvider components type configurator.| Modifier and Type | Method and Description |
|---|---|
<F> C |
dataSource(com.vaadin.flow.data.provider.DataProvider<T,F> dataProvider,
com.vaadin.flow.function.SerializableFunction<FILTER,F> filterConverter)
Set the items data source using a
DataProvider with a different filter type and providing the filter
conversion function. |
C |
dataSource(com.vaadin.flow.data.provider.DataProvider<T,FILTER> dataProvider)
Set the data provider which acts as items data source.
|
addItem, items, itemsC dataSource(com.vaadin.flow.data.provider.DataProvider<T,FILTER> dataProvider)
dataProvider - The data provider to set (not null)<F> C dataSource(com.vaadin.flow.data.provider.DataProvider<T,F> dataProvider, com.vaadin.flow.function.SerializableFunction<FILTER,F> filterConverter)
DataProvider with a different filter type and providing the filter
conversion function.F - DataProvider filter typedataProvider - The data provider to set (not null)filterConverter - a function that converts the filter values with the required type into the filter values
expected by the data provider (not null)Copyright © 2020 The Holon Platform. All rights reserved.