Example of Custom ContextMenu 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.
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.
More information on the custom contextmenu can be found in documentation section.
Looking for the full ASP.NET Core Tree Grid component overview, features, pricing, and documentation? Visit our ASP.NET Core Tree Grid component page.