Hi Steve,
You can handle the TableControlCurrentCellKeydown event and call RemoveAt method to remove the record at specified position in a list. Below is a code snippet
void gridGroupingControl1_TableControlCurrentCellKeyDown(object sender, GridTableControlKeyEventArgs e)
{
if (e.Inner.KeyData == Keys.Escape)
{
Element el = e.TableControl.Table.CurrentElement;
if (el is GridAddNewRecord)
{
MyTable a = this.gridGroupingControl1.DataSource as MyTable;
a.RemoveAt(a.Count -1);
}
}
}
Here is a sample.
ModifiedGGC_ComboBox.zipBest regards,
Haneef