@StudioComponent(caption="SimplePagination", category="Components", xmlElement="simplePagination", icon="io/jmix/ui/icon/component/simplePagination.svg", canvasBehaviour=LABEL, documentationURL="https://docs.jmix.io/jmix/%VERSION%/backoffice-ui/vcl/components/simple-pagination.html", unsupportedProperties={"responsive","enable"}) public interface SimplePagination extends PaginationComponent
PaginationComponent.AfterRefreshEvent, PaginationComponent.BeforeRefreshEvent
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Modifier and Type | Method and Description |
---|---|
boolean |
isAutoLoad() |
void |
setAutoLoad(boolean autoLoad)
Sets whether items count should be loaded automatically.
|
addAfterRefreshListener, addBeforeRefreshListener, getDataBinder, getItemsPerPageDefaultValue, getItemsPerPageOptions, getTotalCountDelegate, isItemsPerPageUnlimitedOptionVisible, isItemsPerPageVisible, setDataBinder, setItemsPerPageDefaultValue, setItemsPerPageOptions, setItemsPerPageUnlimitedOptionVisible, setItemsPerPageVisible, setTotalCountDelegate
getFrame, setFrame
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
static final java.lang.String NAME
boolean isAutoLoad()
@StudioProperty(defaultValue="false") void setAutoLoad(boolean autoLoad)
[?]
. When it's enabled the component
makes a query to get the total count of items and shows it. The default value is false
.autoLoad
- pass true to enable auto load, or false otherwise