I have three columns "Column1","Column2","Column3". Based on the value in "Column1" the "Column2" and "Column3" should be disabled or enabled. How can this be implemeneted?
if (radGridView1.Columns[e.ColumnIndex].FieldAlias == "ItemID")
{
if (((int)radGridView1.Rows[e.RowIndex].Cells[0].Value) > 10)
e.Cancel = true;
}
}
- Robert
0
Accepted
Jack
Telerik team
answered on 26 Sep 2009, 06:15 AM
Hi Subh,
I suppose that you want to disable the editing of specific cell. If this is the case, you can handle CellBeginEdit event. Please consider the sample below: