T
The type of data in the DataTable.
public void RowMarkerPlugin(MarkerColor<T> markerColor)
markerColor
The function that determines the marker color for each row.
public void onBeforeAddTable(DataTable<T> dataTable)
Adds the CSS class for row markers to the DataTable before adding it.
dataTable
The DataTable to which this plugin is applied.
public void onRowAdded(DataTable<T> dataTable, TableRow<T> tableRow)
Sets the marker style for the newly added row.
dataTable
The DataTable to which this plugin is applied.
tableRow
The newly added TableRow.
public void handleEvent(DominoEvent event)
Handles row record updated events by updating the row marker style.
event
The table event to handle.
public int order()
Specifies the order in which this plugin should be executed. It has the highest order value to ensure that it runs last.
Returns:
The order value, set to MAX_VALUE .