New to KendoReact? Start a free 30-day trial
Actions
The ContextMenu allows you to perform different actions on right-click.
Actions Implementation
To enable a certain action:
- Render a
MenuItem
component in the ContextMenu. - Based on the use case, pass a string to the action setting via the data prop.
- Handle the required logic inside the onSelect event
The following example demonstrates how to implement a simple action.
Change Theme
Theme
Loading ...