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

ggc.TableOptions.ListBoxSelectionMode and Del-key

Hi, after setting the selection mode of ggc to ListBoxSelectionMode the event "TableControlKeyPress" does not fire when pressing DEL-key (and other keys) anymore. Also ggc.KeyPress does not fire. ListBoxSelectionMode is my prefered selection mode, but how can the user delete a row in this mode. Any ideas? Greetings, Klaus BTW: What is the correct name of the pencil that is shown in the rowheader when the row is currently edited? Is there a special event when the user clicks on the pencil?

1 Reply

ST stanleyj Syncfusion Team February 25, 2006 02:13 PM UTC

Hi Klaus, Try catching the delete key in TableControlKeyDown. if(e.Inner.KeyCode == Keys.Delete) { Record rec = e.TableControl.Table.CurrentRecord; rec.Delete(); } You can call it as pencil, there is no special event to raise when click on the pencil. You can try capturing the click of the row header of the editing record. Best regards, Stanley

Loader.
Live Chat Icon For mobile
Up arrow icon