1. Domino UI
  2. Data table
  3. Row context menu
Top Row menu Docs

Row content menu

A plugin for adding row context menus to a DataTable.

T

The type of data in the DataTable.

Examples

Row menu Open a dropdown menu on right-click on a row.

API Docs: RowContextMenuPlugin

Constructors

public void RowContextMenuPlugin(Menu<?> menu)
Creates a new RowContextMenuPlugin instance with the specified context menu.

menu

The context menu to be associated with the rows.

Public methods

public void onRowAdded(DataTable<T> dataTable, TableRow<T> tableRow)
Check super implementation documentation.

Adds the context menu to the specified row when a new row is added to the DataTable.

dataTable

The DataTable to which this plugin is applied.

tableRow

The TableRow to which the context menu is added.

public Optional<RowContextMenuMeta<T>> getRowContextMenuMeta()
Gets the context menu associated with this plugin.

Returns:

An Optional containing the context menu if set, or empty otherwise.

We are a group of passionate people who love what we do

Donate & Support Us