When I right click in a table component on the page I get a "Copy" dialog. Any way to suppress this? I have a onContextMenu action and "Prevent Default" is selected. This is a custom alarm display for the screens using a Table component in Perspective.
Bad news:
Unfortunately, the only current avenue for preventing the Copy option is to supply the Table with a dedicated context menu via Table.meta.contextMenu
.
Good news:
You can short-circuit this to make it work for you by setting Table.meta.contextMenu.enabled
to true
, but then supply no items. The result is that the Table will try to use the context menu in props, find no items, then display neither context menu nor Copy option.
3 Likes
Works like a charm! Thank you!
1 Like
Are you saying that charms work?
Don't forget to click the ✓ "solution" icon on the answer that solves your problem. That way it gets marked on the main page as solved.