# Context Menu

The KendoReact TreeList displays a context menu using the [`ContextMenu component`](https://www.telerik.com/kendo-react-ui/components/layout/contextmenu). The right-click action triggers the context menu, and the [`onRowContextMenu` event](https://www.telerik.com/kendo-react-ui/components/treelist/api/treelistrowcontextmenuevent) is fired when TreeList cells are rendered.

## Row Operations

You can add arbitrary options to the ContextMenu and execute different actions based on your application's requirements. The example demonstrates how to open a custom [`Dialog`](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog).

[Demo Source](https://demos.telerik.com/kendo-react-ui/treelist/context-menu/source.txt)

## Suggested Links

* [TreeList API Reference](https://www.telerik.com/kendo-react-ui/components/treelist/api)

<div data-component="StartKendoReactFreeSection"></div>
