I am using a context menu that gets loaded in the "CellLoaded" event for some cells (i.e. I want the context menu in some columns, but not in others). I have this working beautifully except for one minor problem. When the user right-clicks the cell, the row selection doesn't change. So, if I right-click a cell that is not in the active row, the context menu is for a cell that is in an unselected row. The visual of this is not satisfactory to the client. "IsSynchronizedWithCurrentItem" works great for left-clicks, but doesn't seem to have any effect for right-clicks. Is there an easy way to fix this so that if I right-click on a cell, the row selection changes to match?
I've been trying to do this using the grid's "ContextMenuOpening" event, but there doesn't seem to be enough information available in the arguments to tell me which row was clicked on.
Any help would be much-appreciated.
Thanks!
Brad.