To disable editing for the entire grid, setting the AllowEditing property to False either in the designer or in code.
In the C1FlexGrid Tasks menu, uncheck the Enable Editing check box.
Alternatively, locate the AllowEditing property in the Properties window and set it to False.
Add the following code to the Form_Load event:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Me.C1FlexGrid1.AllowEditing = False |
To write code in C#
C# |
Copy Code
|
---|---|
this.c1FlexGrid1.AllowEditing = false; |