Interface SimplePagination

All Superinterfaces:
Component, Component.BelongToFrame, PaginationComponent
All Known Implementing Classes:
SimplePaginationImpl

@StudioComponent(caption="SimplePagination", category="Components", xmlElement="simplePagination", icon="io/jmix/ui/icon/component/simplePagination.svg", canvasBehaviour=LABEL, documentationURL="https://docs.jmix.io/jmix/%VERSION%/ui/vcl/components/simple-pagination.html", unsupportedProperties={"responsive","enable"}) public interface SimplePagination extends PaginationComponent
Component that makes a data binding to load data by pages. It contains label with current items count and navigation buttons (next, last etc).
  • Field Details

  • Method Details

    • isAutoLoad

      boolean isAutoLoad()
      Returns:
      whether items count should be loaded automatically
    • setAutoLoad

      @StudioProperty(defaultValue="false") void setAutoLoad(boolean autoLoad)
      Sets whether items count should be loaded automatically. When the autoload is disabled the component doesn't know the total count of items and shows a button with [?]. When it's enabled the component makes a query to get the total count of items and shows it. The default value is false.
      Parameters:
      autoLoad - pass true to enable auto load, or false otherwise