Interface ContextMenuOptions

ContextMenuOptions allows you to control the context menu that appears when the user right clicks on a cell. Please see https://reactdatagrid.com/examples/?example=Context_Menu for an example, and https://github.com/flexicious/euxdt-example/blob/main/src/app/examples/context-menu.tsx for the code.

Hierarchy

  • ContextMenuOptions

Properties

contextMenuItems?: ((node: VirtualTreeNode, currentItems: (null | ContextMenuItem)[]) => (null | ContextMenuItem)[])

Type declaration

contextMenuRenderer?: ((node: RendererProps) => unknown)

Type declaration

Generated using TypeDoc