T - the type of the data table recordspublic class RowClickPlugin<T> extends Object implements DataTablePlugin<T>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RowClickPlugin.ClickHandler<T>
An interface to implement handlers for the click event on a row
|
| Constructor and Description |
|---|
RowClickPlugin(RowClickPlugin.ClickHandler<T> handler)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
onRowAdded(DataTable<T> dataTable,
TableRow<T> tableRow)
This method will be called right after adding a row to the table
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUtilityElements, handleEvent, init, onAfterAddHeaders, onAfterAddTable, onAllRowsAdded, onBeforeAddHeaders, onBeforeAddRow, onBeforeAddTable, onBodyAdded, onHeaderAdded, requiresUtilityColumnpublic RowClickPlugin(RowClickPlugin.ClickHandler<T> handler)
handler - the RowClickPlugin.ClickHandler to handle the click eventpublic void onRowAdded(DataTable<T> dataTable, TableRow<T> tableRow)
onRowAdded in interface DataTablePlugin<T>dataTable - the DataTable we are attaching this plugin to.tableRow - the TableRow addedCopyright © 2019–2022 Dominokit. All rights reserved.