Context menu on table row

Hi,

I would like a context menu to appear when I right-click any part of a row, including the empty space, in a table.
Currently I create a context menu for each label in the table cell, but the white spaces between each label doesn't respond to a right-click.

Any suggestion?

Regards,
James

a.schild's picture

You should add the ContextMenu to the table itself

Add the ContextMenu to the table itself, then it should be clickable everywhere in the table.

You will then have to lookup the correct row/column to get the corresponding component if the menu is sensitive to the cell types/values.

André

Thanks André. It's working

Thanks André. It's working now.