Interface SupportsItemsFetchCallback<T,F>

Type Parameters:
T - item type
F - filter type
All Known Implementing Classes:
EntityComboBox, JmixComboBox, JmixMultiSelectComboBox, JmixMultiSelectComboBoxPicker

public interface SupportsItemsFetchCallback<T,F>
A component that supports a callback for fetching items from a back end.
  • Method Details

    • setItemsFetchCallback

      void setItemsFetchCallback(SupportsItemsFetchCallback.FetchCallback<T,F> fetchCallback)
      Supply items lazily with a callback from a backend.
      Parameters:
      fetchCallback - function that returns a stream of items from the backend based on the offset, limit and an optional filter provided by the query object