T - the type of the data table recordspublic class ColumnHeaderFilterPlugin<T> extends Object implements DataTablePlugin<T>
tableConfig
.addPlugin(ColumnHeaderFilterPlugin.| Modifier and Type | Class and Description |
|---|---|
static interface |
ColumnHeaderFilterPlugin.HeaderFilter<T>
An interface for implementing HeaderFilters
|
| Constructor and Description |
|---|
ColumnHeaderFilterPlugin() |
| Modifier and Type | Method and Description |
|---|---|
ColumnHeaderFilterPlugin<T> |
addHeaderFilter(String columnName,
ColumnHeaderFilterPlugin.HeaderFilter headerFilter)
Adds a new header filter to the plugin
|
static <T> ColumnHeaderFilterPlugin<T> |
create()
Create a new instance
|
DominoElement<elemental2.dom.HTMLTableRowElement> |
getFiltersRowElement() |
void |
handleEvent(TableEvent event) |
void |
onAfterAddHeaders(DataTable<T> dataTable)
This method will be called right after adding all columns headers elements to the table
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUtilityElements, init, onAfterAddTable, onAllRowsAdded, onBeforeAddHeaders, onBeforeAddRow, onBeforeAddTable, onBodyAdded, onHeaderAdded, onRowAdded, requiresUtilityColumnpublic static <T> ColumnHeaderFilterPlugin<T> create()
T - the type of the data table recordspublic void onAfterAddHeaders(DataTable<T> dataTable)
onAfterAddHeaders in interface DataTablePlugin<T>dataTable - the DataTable we are attaching this plugin to.public ColumnHeaderFilterPlugin<T> addHeaderFilter(String columnName, ColumnHeaderFilterPlugin.HeaderFilter headerFilter)
columnName - String, the name of the column we are adding the header filter to.headerFilter - the ColumnHeaderFilterPlugin.HeaderFilterpublic void handleEvent(TableEvent event)
handleEvent in interface TableEventListenerhandleEvent in interface DataTablePlugin<T>event - the TableEvent being receivedpublic DominoElement<elemental2.dom.HTMLTableRowElement> getFiltersRowElement()
Copyright © 2019–2022 Dominokit. All rights reserved.