RadzenDataGrid: ContexMenu dont work correctly on right click #712

Closed
opened 2026-01-29 17:42:05 +00:00 by claunia · 1 comment
Owner

Originally created by @BaggerFast on GitHub (Feb 2, 2023).

I use the RadzenDataGrid component

  1. When I left-click on a line, it is highlighted. This is the correct behavior
    image
  2. But when I right-click to get the context menu, the highlighted line does not change. Although on the official example, everything works as I need it.
    image
  3. Source code
    image
Originally created by @BaggerFast on GitHub (Feb 2, 2023). **I use the RadzenDataGrid component** 1) When I **left-click** on a line, it is highlighted. This is the correct behavior ![image](https://user-images.githubusercontent.com/54527361/216247818-6726aacd-59fe-4572-8227-a2741453dc63.png) 2) But when I right-click to get the context menu, the highlighted line does not change. [Although on the official example, everything works as I need it.](https://blazor.radzen.com/datagrid-cell-contextmenu) ![image](https://user-images.githubusercontent.com/54527361/216247893-a6d97423-80ce-4801-8503-294c18f52152.png) 3) Source code ![image](https://user-images.githubusercontent.com/54527361/216248783-d3771492-1648-4358-ace0-b939e38fe0d7.png)
Author
Owner

@enchev commented on GitHub (Feb 2, 2023):

Our example explicitly selects the row on right click - check the code for reference.

@enchev commented on GitHub (Feb 2, 2023): Our example explicitly selects the row on right click - check the code for reference.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#712