Restrict context menu

Posted by: sg on 27 November 2017, 7:40 am EST

    • Post Options:
    • Link

    Posted 27 November 2017, 7:40 am EST

    I have created a context menu for my grid.

    How do I stop it from appearing on specific rows?

    Thank you

    Stephen

  • Posted 28 November 2017, 1:37 am EST

    Hi Stephen,

    In FlexGrid_MouseDown event find the row of specific type using HitTestInfo class and then, assign null to FlexGrid.ContextMenu.

    Please see the attached sample of above implementation.

    Thanks

    +Manindraprj_RestrictContextMenu.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels