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.
I need to catch right clicking in rows to show a menu, but I don''t want the resulting right click to change the selection.
For instance, 3 rows are selected (contiguous or not), and then a right click is done (anywhere in the grid), I want to show a menu to operate on those 3 rows.
Currently right clicking simply changes the selection to the row that was right clicked on, definitely not what I need.
ADAdministrator Syncfusion Team June 2, 2004 05:44 PM UTC
Check out this KB to see if it is what you need.
http://www.syncfusion.com/Support/article.aspx?id=10430
ADAdministrator Syncfusion Team June 2, 2004 06:29 PM UTC
This works but then the grid doesn''t fire the cell_click event, which I need in order to show the menu.
>Check out this KB to see if it is what you need.
>
>http://www.syncfusion.com/Support/article.aspx?id=10430
ADAdministrator Syncfusion Team June 2, 2004 06:40 PM UTC
grid.MouseDown and grid.MouseUp events will be fired. Can you use those events. If you need the row and column of the click, you can use:
int row, col;
Point pt = new Point(e.X, e.Y);
if(grid.PointToRowCol(pt, out row, out col, -1))
{
//show menu at row, col
}