Skip to content

ContextMenu #3189

Closed
Closed

Description

@itg-assistant

Nello Pernice asked 2021-05-26 12:30:35 UTC

Hi, is it possible to hide some context menu items before it is shown?

I tried to do this in the "Load" event, but it was never triggered.

I tried to do this in the "Popup" event, but all elements remain visible.

What is wrong ?

Thanks

Nello Pernice

Activity

  1. itg-assistant commented on Jun 15, 2026

    @itg-assistant
    Author

    Paul answered 2021-05-26 15:24:26 UTC

    Hi Nello

    Wich version of Wisej are you using ?

    Regards

  2. itg-assistant commented on Jun 15, 2026

    @itg-assistant
    Author

    Paul answered 2021-05-26 17:01:00 UTC

    Meanwhile, I attached a sample that can handle items hidden or disabled in a popup menu

    Regards and happy codding

  3. itg-assistant commented on Jun 15, 2026

    @itg-assistant
    Author

    Nello Pernice answered 2021-05-27 08:31:53 UTC

    Thank you.
    I have verified that it works if i change menu items during the "new". I have statically assigned the contextmneu to multiple gridviews,
    and I would like to modify the menu items based on the cell contents, so I tried to intercept the load event to modify the menu,
    but it is never triggered. The version is 2.2.47
    At the moment I cannot update because the license has expired
    Nello Pernice
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    SuggestionAn improvement to something that already works.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions