Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to show custom popup context menu items only for certain fields

$
0
0

This is an extended version of the How to add a custom popup menu item example. It demonstrates how to hide certain context menu items using the client-side ASPxClientMenuBase.PopUp and ASPxClientMenuBase.CloseUp events. It is possible to use the ASPxPivotGrid.JSProperties dictionary to pass additional information for client side processing.

To get the ID of a target Field Value item use the pivotGrid.fieldMenuFieldID property.
If the Header menu is shown, you can get the ID using the pivotGrid.headerMenuFieldID property.



Question Comments

Added By: Ananda Krishna 1 at: 7/18/2012 2:22:15 AM    

How to implement same when we click the field name in the area, say, coulmn or data area?

Added By: John (DevExpress Support) at: 9/22/2015 11:26:55 PM    Hi Ananda,
I have created a separate ticket for your question: How to show custom popup context menu when we click the field name in the area, say, coulmn or data area. Let's continue the conversation there.

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>