Ticket T111335
Visible to All Users

How to disable particular menu items in the default grid menus

created 11 years ago

[DevExpress Support Team: CLONED FROM A47: How to disable particular menu items in the default grid menus]

Is there a way to disable some of the default items that show on a column context menu? In particular, I would like to either disable or completely remove the "Runtime Column Customization" option.

Hi,
it is polible to do this for DevExpress.Xpf.Grid with TableView?

Answers approved by DevExpress Support

created 11 years ago

Hello Ser,

You can disable sorting/filtering features via DataViewBase.AllowSorting/DataViewBase.AllowColumnFiltering properties. Does it work for you? If you have a different scenario, describe it in detail. We are here to help you.

Thanks,
Elliot

    Comments (2)

      Hello Elliot,
      I want to remove some entries from default context menu.

      DevExpress Support Team 11 years ago

        Hi,
        In this case, you can use the built-in menu customizations described in the Context Menus documentation. Let us know if you need additional clarification.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.