Bug Report Q147053
Visible to All Users

Context Menu - The VGridControl doesn't provide the ShowMenu event

created 16 years ago

Hello,
Is it possible to call separete context menu for row headers then for whole control?
The most desired solution would be similar event as in Classical Grid : ShowGridMenu.
Thanks and regards,
Tom

Comments (2)
Dennis Garavsky (DevExpress) 16 years ago

    Hello Tomasz,
    I have converted your question to a bug report, because to tell you the truth, we missed this event. Sorry for the inconvenience. There is already the ShowMenu event in the PropertyGridControl class, but the VGridControl doesn't have such an event, although it should!
    Ideally, this event should be located in the VGridControlBase class.
    Currently, to work around this problem, you should create a context menu manually and show it within the control's MouseDown event handler. You should use the VGridControl.CalcHitInfo method there to determine which element was clicked.
    Please let me know if this information is enough for you to create a workaround in the current version. Also, please tell me whether you can wait until we fix this bug ourselves, not to cause additional inconvenience by using workarounds.
    Thanks,
    Dennis

    DevExpress Support Team 16 years ago

      Hello Tomasz,
      The fix has been included in the next minor update v2008 vol 3.5. It will be available soon.
      Thanks,
      Alex.

      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.