ComponentOne FlexGrid for WinForms
Disable Editing for a Specific Row
FlexGrid for WinForms Task-Based Help > Restricting Grid Editing > Disable Editing for a Specific Row

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;
See Also