Hi,
I wanted to set a cell in the template add row to be editable but once it is committed as a regular row, the cell should not be editable. I am not able to distinguish between the two types of rows. Any ideas on how this could be done?
Thanks
hi
can use the before cell activate event and check for the exact cell (col and row )
If not e.Cell.Row.IsTemplateAddRow Then
If e.Cell.Column.Key = "YourNonEditableColName" Then
e.Cancel = True
End If
Is it possible to have a C# version of this..?
shyakaster said:Is it possible to have a C# version of this..?
if (!e.Cell.Row.IsTemplateAddRow){ if (e.Cell.Column.Key == "YourNonEditableColName") { e.Cancel = true; }}