Right Click for context menu deselects selected row

Hi, I'm trying to implement row selection and right-click menu action like Excel. Select some rows, right-click and apply actions to them. The selection part works fine, however the right-click will select the current row, deselecting the rest. Is there away around this? Right-click should not remove the current selection, if one exists. thanks, -beau

1 Reply

BT Beau Tateyama October 2, 2003 09:37 AM UTC

Found a solution. this._gridOrders.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left; By default, it was set to all buttons (Left, Middle, Right)

Loader.
Up arrow icon