Package | Description |
---|---|
com.vaadin.flow.component.combobox |
Modifier and Type | Method and Description |
---|---|
ComboBoxLazyDataView<T> |
ComboBox.getLazyDataView()
Gets the lazy data view for the ComboBox.
|
ComboBoxLazyDataView<T> |
ComboBox.setItems(BackEndDataProvider<T,String> dataProvider) |
ComboBoxLazyDataView<T> |
ComboBox.setItems(CallbackDataProvider.FetchCallback<T,String> fetchCallback)
Supply items lazily with a callback from a backend.
|
ComboBoxLazyDataView<T> |
ComboBox.setItems(CallbackDataProvider.FetchCallback<T,String> fetchCallback,
CallbackDataProvider.CountCallback<T,String> countCallback)
Supply items lazily with callbacks: the first one fetches the items based
on offset, limit and an optional filter, the second provides the exact
count of items in the backend.
|
<C> ComboBoxLazyDataView<T> |
ComboBox.setItemsWithFilterConverter(CallbackDataProvider.FetchCallback<T,C> fetchCallback,
CallbackDataProvider.CountCallback<T,C> countCallback,
SerializableFunction<String,C> filterConverter)
Supply items lazily with callbacks: the first one fetches the items based
on offset, limit and an optional filter, the second provides the exact
count of items in the backend.
|
<C> ComboBoxLazyDataView<T> |
ComboBox.setItemsWithFilterConverter(CallbackDataProvider.FetchCallback<T,C> fetchCallback,
SerializableFunction<String,C> filterConverter)
Supply items lazily with a callback from a backend, using custom filter
type.
|
Copyright © 2024. All rights reserved.