'宣言 Public Property AllowEditing As System.Boolean
public System.bool AllowEditing {get; set;}
'宣言 Public Property AllowEditing As System.Boolean
public System.bool AllowEditing {get; set;}
If you set AllowEditing to false, editing is disabled for the entire grid.
To enable editing on some rows and columns, set AllowEditing to true for the grid and set the RowCol.AllowEditing or RowCol.AllowEditing properties to false for the rows and columns that should not be editable.
You can also disable editing of specific cells by handling the BeforeEdit event and setting the Cancel event parameter to true.