View Full Version : Restrict where a context menu shows on a grid?

18 Aug 2009, 6:15 PM
I have a grid that uses a GroupingView and I also want to give the grid a context menu, but I want to only show the context menu if the user clicks on an actual row of the grid, not a column header, not a grouping section, but only an actual row.

How can I do this? I have been tinkering with adding a listener to the grid that listens to the Events.ContextMenu and trying to cancel the event if the user clicks on the wrong thing, but not having much luck yet!

Any help / ideas is greatly appreciated...


19 Aug 2009, 5:23 AM
if you post your current code as a working example we can found a possible bug in your code.