Grid / Columns / Column- Protection
In This Topic
    Column- Protection
    In This Topic

    Column protection refer to the set of properties that can help you restrict the user to perform certain actions with a specific column. Typically there is a Grid Protection property that can restrict the same operation for the entire grid (and hence for all columns). The following table outlines the column protection properties:

    Property Description
    AllowEdit Gets or sets whether the user is allowed to edit the row values in the column.
    AllowFilter Gets or sets whether the user is allowed to modify the filters that are associated with the column. Setting this property to false hides the columns header filter button and the Filter command from the column context menu.
    AllowFormat Gets or sets whether the user is allowed to modify the format of the column via the column context menu. Setting this property to false removes the Format command from the column context menu.
    AllowGroup Gets or sets whether the user is allowed to drag and drop the column on the grouping panel and hence group by the column. Setting this property to false also hides the Group command from the column context menu.
    AllowReorder Gets or sets whether the user is allowed to change the column order by dragging it.
    AllowResize Gets or sets whether the user is allowed to resize the column by dragging its right edge. Setting this property to false also prevents the user from executing the column "Best fit" operation.
    AllowSort Gets or sets whether the user is allowed to sort the column by either clicking on the column header sorting button or by clicking the column header itself.

    See Also