Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO-174654-Multiple-h1-Issue-fixes-asp #521

Open
wants to merge 2 commits into
base: hotfix/hotfix-v26.2.4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions aspnet/Treegrid/Context-Menu.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Context Menu | TreeGrid | ASP.NET | Syncfusion
description: context menu
description: This feature provides users with an interactive way to perform actions on the grid's rows or cells through a right-click menu in Syncfusion ASP.NET TreeGrid.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this reviewed

platform: aspnet
control: TreeGrid
documentation: ug
---

# Context Menu
# Context Menu in ASP.NET Web Forms TreeGrid

The **Context menu** in TreeGrid control is used to manipulate (add, edit and delete) the TreeGrid rows. In TreeGrid, context menu can be enabled with `ContextMenuSettings` property. The `ContextMenuSettings` property contains two inner properties `ShowContextMenu` and `ContextMenuItems`.

Expand All @@ -26,11 +26,11 @@ The `ContextMenuItems` property is used to add the menu items to context menu, t

The following screenshot displays the Context menu in TreeGrid control.

![](Context-Menu_images/Context-Menu_img1.png)
![Context Menu Customization.](Context-Menu_images/context-menu-customization.png)



## ContextMenu Customization
## Context Menu Customization

The Context menu can be customized by adding a new custom menu item to it. In TreeGrid, context menu can be customized using the ContextMenuOpen client-side event. This event is triggered when the context menu is rendered with mouse right click action. The following properties are available in the event.

Expand Down Expand Up @@ -62,9 +62,9 @@ function customMenuClick(args) {

The following screenshot displays the customization of Context menu in TreeGrid control.

![](Context-Menu_images/Context-Menu_img2.png)
![Header Context Menu.](Context-Menu_images/header-context-menu.png)

# Header Context Menu
## Header Context Menu
Header context menu can be enabled by setting `ShowContextMenu` as `true`. The default value of the `ShowContextMenu` property is `false`.

Following options are shown in header context menu.
Expand All @@ -91,7 +91,7 @@ The below code snippet explains how to enable header context menu in TreeGrid

The following screenshot displays the Header context menu in TreeGrid control.

![](Context-Menu_images/Context-Menu_img3.png)
![Header context menu in TreeGrid.](Context-Menu_images/header-context-menu-in-treegrid.png)



Expand Down