The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I have a context menu that appears when the user right click on the row header (via handling the Grid.MouseUp event). I also need the context menu to operate on multiple rows, so I set Grid.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left. So far so good.
However, this means that a context menu operation on a single row requires two clicks - left click to select the row, then right click to show the menu. I would like to achieve the default Excel behaviour where a simple right click displays the menu, retains any existing row selections, and selects the current row.
Is this possible?
Thanks
Akash
ADAdministrator Syncfusion Team September 7, 2005 04:45 PM UTC
I think you can handle a couple of events and get the behavior you want. Here is a little sample.
http://www.syncfusion.com/Support/user/uploads/GC_Paint_53efb746.zip
ADAdministrator Syncfusion Team September 8, 2005 12:00 PM UTC
Many thanks. Looks like it does exactly what I need.