We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

question about keydown event for textbox cells

Does anyone know if there is a quick way to tell if you are in "edit mode" on a textbox when the currentCell_keyDown event fires? I''m trying to listen on the keydown for the Insert/Delete keys. If they are pressed and you are not editting a textbox, I''d like to insert a new row/delete the current row. If you''re editting a textbox cell, I want those keys to work as they normally do. Thanks, Chad

2 Replies

AD Administrator Syncfusion Team October 5, 2004 02:54 PM UTC

This is what I''m currently using on the currentCell_Keydown... ((GridControl)sender).CurrentCell.Renderer.Control.Focused Doesn''t feel right though...


AD Administrator Syncfusion Team October 5, 2004 03:00 PM UTC

grid.CurrentCell.IsEditing should be true when the currentcell is actively being edited.

Loader.
Live Chat Icon For mobile
Up arrow icon