T - the type of the data table recordspublic class ScrollingPaginationPlugin<T> extends Object implements DataTablePlugin<T>
ScrollingPagination component to the data table and fires TablePageChangeEvent when ever the page is changed| Constructor and Description |
|---|
ScrollingPaginationPlugin()
Creates and instance with default page size of 10
|
ScrollingPaginationPlugin(int pageSize) |
ScrollingPaginationPlugin(int pageSize,
int windowSize)
Creates and instance with a custom page size
|
| Modifier and Type | Method and Description |
|---|---|
ScrollingPagination |
getPagination() |
void |
onAfterAddTable(DataTable<T> dataTable)
This method will be called right after adding the table element to its root element
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUtilityElements, handleEvent, init, onAfterAddHeaders, onAllRowsAdded, onBeforeAddHeaders, onBeforeAddRow, onBeforeAddTable, onBodyAdded, onHeaderAdded, onRowAdded, requiresUtilityColumnpublic ScrollingPaginationPlugin()
public ScrollingPaginationPlugin(int pageSize)
public ScrollingPaginationPlugin(int pageSize,
int windowSize)
pageSize - int, Page sizepublic void onAfterAddTable(DataTable<T> dataTable)
onAfterAddTable in interface DataTablePlugin<T>dataTable - the DataTable we are attaching this plugin to.public ScrollingPagination getPagination()
ScrollingPagination component wrapped in this pluginCopyright © 2019–2022 Dominokit. All rights reserved.