how do I override keyboard Delete event?

I have a grid control in which most of the cells are read only and only cells in certain columns may be edited. One of our testers discovered that when he clicks on the Delete key on the keyboard the current row is cleared. I want to suppress this behavior.

3 Replies

CN Cathy Noakes April 3, 2003 01:12 PM UTC

I apologize for the rather abrupt nature of the last message; I hit Post before I had finished typing. I should mention that I am using version 1.5.1.6 of the Essential Grid. Please let me know what I can do to trap this event. Thanks, Cathy


AD Administrator Syncfusion Team April 3, 2003 03:30 PM UTC

You can catch the ClearingCells event and set e.Handled to true if the e.RangeList contains a cell that you do not want to clear.


CN Cathy Noakes April 3, 2003 06:18 PM UTC

Thanks very much, Clay. That did the trick! Regards, Cathy

Loader.
Up arrow icon