We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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)

Live Chat Icon For mobile
Up arrow icon