ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / AllowEditing Property

In This Topic
    AllowEditing Property (C1FlexGridBase)
    In This Topic
    Gets or sets whether the user is allowed to edit grid contents.
    Syntax
    'Declaration
     
    Public Property AllowEditing As Boolean
    public bool AllowEditing {get; set;}
    Remarks

    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.

    See Also