We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Displaying context menu for certain nodes alone

Hi I am using tree with context menu. I want to display the context menu when right clicked only for certain nodes. Is this possible?!! regards, Vik

1 Reply

DT Deepa TS Syncfusion Team February 27, 2006 12:54 PM UTC

Hi Vik, The answer for your question is Yes. The context menu can be displayed for certain nodes, by setting the menuItem''s Visiblity to true in the contextMenu1_Popup event handler for the particular nodes. Please take a look at the attached sample and let me know if this helps you. Thanks for your interest in Syncfusion products. Regards, Deepa.T.S

ContextRightClick.zip

Loader.
Live Chat Icon For mobile
Up arrow icon