I use the WebDataGrid.InitializeDefaultEditors.
In my event handler I have written the following code:
void OnInitializeDefaultEditors(object sender, DefaultEditorsEventArgs e){ e.NumericEditor.Buttons.SpinOnArrowKeys = false; e.NumericEditor.ClientEvents.KeyDown = "j_onNumericEditorKeyDown";}
The SpinOnArrowKeys is succesfully disabled, but the KeyDown event is not fired WHEN the grid does not contain rows.
Hello,
The editor appear when a cell is in edit mode. May be I am missing something, but how would an editor's keydown event be fired if there is no cells to edit? Can you describe your scenario a bit further? Thanks.