Interface ContextMenuItem

An item in the context menu. This is the 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

  • ContextMenuItem

Properties

Properties

className: string

The class name to use for the menu item. This is used to style the menu item.

label: string

The label to use for the menu item.

onClick: ((cell: CellSelelection) => void)

Type declaration

    • (cell: CellSelelection): void
    • The callback to call when the user clicks on the menu item. The callback is passed the cell that was clicked on.

      Parameters

      Returns void

Generated using TypeDoc