T - the type of the data table recordspublic class EmptyStatePlugin<T> extends Object implements DataTablePlugin<T>
EmptyState component elements to the data table when
the data table has no records, and remove it when there is records| Constructor and Description |
|---|
EmptyStatePlugin(BaseIcon<?> emptyStateIcon,
String title)
Create an instance with custom icon and title
|
| Modifier and Type | Method and Description |
|---|---|
EmptyState |
getEmptyState() |
void |
onAfterAddTable(DataTable 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 void onAfterAddTable(DataTable dataTable)
onAfterAddTable in interface DataTablePlugin<T>dataTable - the DataTable we are attaching this plugin to.public EmptyState getEmptyState()
EmptyState component instance of this pluginCopyright © 2019–2022 Dominokit. All rights reserved.