ContextMenuOpen Event

I'm trying to use the Blazor SfGrid ContextMenuOpen event to create several custom menus that vary based on the particular cell or column header that the user right-clicks on. I'm able to get this to work when the user clicks on a cell; however, I can't see any information in ContextMenuOpenEventArgs that tells me when the user has clicked in a column header as opposed to in a cell. I suppose I could use the Top property to try to determine if the user has clicked in the header but his seems pretty awkward. Is there a better way to determine if the user has right-clicked in a cell or in a column header within the ContextMenuOpen Event?

1 Reply 1 reply marked as answer

RS Renjith Singh Rajendran Syncfusion Team November 19, 2020 12:53 PM UTC

Hi Tom, 

Greetings from Syncfusion support. 

Query : Is there a better way to determine if the user has right-clicked in a cell or in a column header within the ContextMenuOpen Event? 
We have considered an usability feature improvement task Provide option to differentiate the clicked target(header/content cell) in ContextMenuOpenEventArgsfor this requirement. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision and technological feasibility. It will be implemented in our upcoming bi-weekly release which is expected to be rolled out by the mid of December 2020   
 
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.    

Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran 


Marked as answer
Loader.
Up arrow icon