• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Custom Context Menu in ASP.NET Core Tree Grid Control

This sample demonstrates the usage of custom context menu in TreeGrid component. Right click anywhere on a parent row in the TreeGrid to view custom context menu.

DEMO
SOURCE

TreeGrid has an option to show the custom context menu when right click on it. To configure the custom items in context menu, you should define custom item in contextMenuItems. In this demo, Custom Context Menu feature has enabled by defining the custom context menu Expand the Row and Collapse the Row for the parent nodes in contextMenuItems property.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab