Closed Serg-Norseman closed 4 months ago
How can I disable the feature that pressing Enter in a GridView moves the selection to the next row? This functionality greatly interferes with the introduction of another, it really needs to be turned off.
Something like this should work:
myGridView.KeyDown += (sender, e) => { if (!myGridView.IsEditing && e.KeyData == Keys.Enter) e.Handled = true; };
Thank you!
How can I disable the feature that pressing Enter in a GridView moves the selection to the next row? This functionality greatly interferes with the introduction of another, it really needs to be turned off.