I'm really worried that pressing the enter key in the Datagrid moves the selection one element at a time, I would like it to be able to decide what it does in the regular keydown event.
So, I created a new class that inherits the DataGrid and overrides the OnKeyDown event and uses it as my datagrid.
This creates a completely new set of problems, since I apparently have to rewrite all the other keystrokes (arrow key, offset + arrow selection, pgup / pgdn, etc.). I tried to crack it, but it just seems pointless to spend time rewriting something that has already been written, and probably better than I can imagine.
So, how can I make an input key do what I want without messing with other default keywords for a datagrid?
Thank you in advance
source share