DropDownDataGrid - Keyboardnavigation (arrows) trigger OnChange event. #1096

Closed
opened 2026-01-29 17:48:52 +00:00 by claunia · 2 comments
Owner

Originally created by @Stefanu83 on GitHub (Jan 17, 2024).

Is your feature request related to a problem? Please describe.
The feature is related to the DropDownDataGrid (https://blazor.radzen.com/dropdown-datagrid)

Imagine using the arrow keys (key arrowup, key arrowdown) to go through the items.

Every time an item is selected (ie key arrowup or key arrowdown) the Change event is triggered. But since I use the dropdown in a cascading like scenario that means that if a user moves through a list for every item the Change event is triggered, and additional data is loaded for the cascading dropdown(s).

Describe the solution you'd like
I'd like an option that only triggers the Change event when an item is positively selected from the dropdown list and the dropdown list is closed (ie enter / mouse click on an item).

Describe alternatives you've considered
None, it's an enhancement

Originally created by @Stefanu83 on GitHub (Jan 17, 2024). **Is your feature request related to a problem? Please describe.** The feature is related to the DropDownDataGrid (https://blazor.radzen.com/dropdown-datagrid) Imagine using the arrow keys (key arrowup, key arrowdown) to go through the items. Every time an item is selected (ie key arrowup or key arrowdown) the Change event is triggered. But since I use the dropdown in a cascading like scenario that means that if a user moves through a list for every item the Change event is triggered, and additional data is loaded for the cascading dropdown(s). **Describe the solution you'd like** I'd like an option that only triggers the Change event when an item is positively selected from the dropdown list and the dropdown list is closed (ie enter / mouse click on an item). **Describe alternatives you've considered** None, it's an enhancement
Author
Owner

@pianomanjh commented on GitHub (Feb 13, 2024):

Does SelectedItemChanged get you what you're looking for?

@pianomanjh commented on GitHub (Feb 13, 2024): Does `SelectedItemChanged` get you what you're looking for?
Author
Owner

@enchev commented on GitHub (Feb 19, 2024):

Fixed in 347942668d

@enchev commented on GitHub (Feb 19, 2024): Fixed in https://github.com/radzenhq/radzen-blazor/commit/347942668d9003788403ec4e315ae2bfcec68263
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1096