The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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?
STstanleyj 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