RC
Rajadurai C
Syncfusion Team
December 18, 2008 07:13 AM UTC
Hi Champak,
Thanks for your interest in Syncfusion products.
Please try handling the CurrentCellKeyDown event with following code snippet.
void gridDataBoundGrid1_CurrentCellKeyDown(object sender, KeyEventArgs e)
{
GridCurrentCell cc = this .gridDataBoundGrid1 .CurrentCell;
if (e.KeyCode == Keys.Delete)
{
if (cc.Renderer is GridTextBoxCellRenderer)
this.gridDataBoundGrid1[cc.RowIndex, cc.ColIndex].CellValue = null;
}
}
Regards,
Rajadurai