T - the type of the data table recordspublic class HeaderBarPlugin<T> extends Object implements DataTablePlugin<T>
HeaderActionElement(s) to it| Modifier and Type | Class and Description |
|---|---|
static class |
HeaderBarPlugin.BordersTableAction<T>
A predefined action to toggle borders on data table rows
|
static class |
HeaderBarPlugin.ClearSearch<T>
A predefined action to clear data table search
|
static class |
HeaderBarPlugin.CondenseTableAction<T>
a Predefined
HeaderActionElement that condense/expand the data table rows |
static class |
HeaderBarPlugin.HoverTableAction<T>
A predefined action to toggle hover on data table rows
|
static class |
HeaderBarPlugin.SearchTableAction<T>
A predefined action to add a search box the data table
|
static class |
HeaderBarPlugin.ShowHideColumnsAction<T>
A predefined action to add a drop down to the data table that allow selecting which columns be
shown/hidden
|
static class |
HeaderBarPlugin.StripesTableAction<T>
A predefined action to toggle stripes on data table rows
|
| Constructor and Description |
|---|
HeaderBarPlugin(String title)
creates an instance with a custom title
|
HeaderBarPlugin(String title,
String description)
creates an instance with a custom and description
|
| Modifier and Type | Method and Description |
|---|---|
HeaderBarPlugin<T> |
addActionElement(HeaderActionElement<T> headerActionElement)
Adds a new header action to this header bar
|
void |
onBeforeAddTable(DataTable<T> dataTable)
This well be called once the table is initialized and before it is appended to the dom
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUtilityElements, handleEvent, init, onAfterAddHeaders, onAfterAddTable, onAllRowsAdded, onBeforeAddHeaders, onBeforeAddRow, onBodyAdded, onHeaderAdded, onRowAdded, requiresUtilityColumnpublic HeaderBarPlugin(String title)
title - String title of the header barpublic void onBeforeAddTable(DataTable<T> dataTable)
onBeforeAddTable in interface DataTablePlugin<T>dataTable - the DataTable we are attaching this plugin to.public HeaderBarPlugin<T> addActionElement(HeaderActionElement<T> headerActionElement)
headerActionElement - the HeaderActionElementCopyright © 2019–2022 Dominokit. All rights reserved.