private void gridControl1_ClearingCells(object sender, GridClearingCellsEventArgs e)
{
if(e.RangeList.ActiveRange.IsRows)
e.Handled = true;
}
private void gridControl1_ClearingCells(object sender, GridClearingCellsEventArgs e)
{
GridCurrentCell cc = this.gridControl1.CurrentCell;
if(cc.ColIndex > 0 && !cc.IsEditing)
{
this.gridControl1[cc.RowIndex, cc.ColIndex].CellValue = null;
e.Handled = true;
e.Result = true;
}
}