There are new 3 events available from 0.8.7.
- BeforeCellKeyDown
- AfterCellKeyDown
- CellKeyUp
The BeforeCellKeyDown has the property IsCancelled
that can be used to abort the built-in operations if it set to true.
using unvell.ReoGrid; using unvell.ReoGrid.Events; protected override void OnLoad(EventArgs e) { sheet.BeforeCellKeyDown += sheet_BeforeCellKeyDown; } void sheet_BeforeCellKeyDown(object sender, BeforeCellKeyDownEventArgs e) { e.IsCancelled = (e.KeyCode == Keys.Enter); }
See event list.