com.holonplatform.vaadin.flow.components.builders

## Interface HasFilterableDataProviderConfigurator<T,FILTER,C extends HasFilterableDataProviderConfigurator<T,FILTER,C>>

- Type Parameters:
    `T` - Data item type
    `FILTER` - Query filter type
    `C` - Concrete configurator type
  All Superinterfaces:
    HasItemsConfigurator<T,C>
  All Known Subinterfaces:
    HasBeanDatastoreFilterableDataProviderConfigurator<T,F,D,C>, HasPropertyBoxDatastoreFilterableDataProviderConfigurator<F,D,C>, SelectModeSingleSelectInputBuilder.ItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.ItemSelectModeSingleSelectInputConfigurator<T,ITEM,D,C>, SelectModeSingleSelectInputBuilder.PropertySelectModeSingleSelectInputBuilder<T>, SelectModeSingleSelectInputBuilder.PropertySelectModeSingleSelectInputConfigurator<T,D,C>, SelectModeSingleSelectInputBuilder.ValidatableItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.ValidatablePropertySelectModeSingleSelectInputBuilder<T>

      public interface HasFilterableDataProviderConfigurator<T,FILTER,C extends HasFilterableDataProviderConfigurator<T,FILTER,C>>
      extends HasItemsConfigurator<T,C>

  `HasFilterableDataProvider` components type configurator.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

    - ### Methods inherited from interface com.holonplatform.vaadin.flow.components.builders.HasItemsConfigurator

      `addItem, items, items`

- - ### Method Detail

    - #### dataSource

          C dataSource(com.vaadin.flow.data.provider.DataProvider<T,FILTER> dataProvider)

      Set the data provider which acts as items data source.
      Parameters:
        `dataProvider` - The data provider to set (not null)
      Returns:
        this

    - #### dataSource

          <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.
      Type Parameters:
        `F` - DataProvider filter type
      Parameters:
        `dataProvider` - 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)
      Returns:
        this

Copyright © 2019 The Holon Platform. All rights reserved.