Grid / Grid Features / Grid Protection
In This Topic
    Grid Protection
    In This Topic

    Grid protection refer to the set of properties that can help you restrict the user to perform certain actions with the grid in general. For operations that apply to columns, usually there is also a respective Column- Protection property that can restrict the same operation for a specific column only. The following table outlines the grid protection properties:

    Gets or sets whether the user is allowed to format the columns.
    Property Description

    Column Operations

    AllowSortColumns Gets or sets whether the user is allowed to sort the columns by clicking on them.
    AllowFilterColumns Gets or sets whether the user is allowed to filter the columns by clicking on filter symbol in each column header.
    AllowReorderColumns Gets or sets whether the user is allowed to reorder the columns by dragging them around the columns panel.
    AllowResizeColumns Gets or sets whether the user is allowed to resize the columns.
    AllowBestFitColumns Gets or sets whether the best fit columns operation is allowed to the user.
    AllowFormatColumns Gets or sets whether the user is allowed to format the columns from the column context menu.

    Row Operations

    AllowResizeRows Gets or sets whether the user is allowed to resize the rows.
    AllowBestFitRows Gets or sets whether the best fit rows operation is allowed to the user.
    AllowDeleteRows Gets or sets whether the delete rows operation is allowed to the user.

    General Operations

    AllowEdit Gets or sets whether the user is allowed to edit cell values.