To disable editing for a specific row, add the following code to the Form_Load event to set the AllowEditing property to False. In this example, the code will restrict editing in the 6th row:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Me.C1FlexGrid1.Rows(5).AllowEditing = False |
To write code in C#
C# |
Copy Code
|
---|---|
this.c1FlexGrid1.Rows[5].AllowEditing = false; |