SecurityColumn

Displays a security button that will open the standard Security editor modal for the item.

Example

<SecurityColumn />

Properties


This column provides default values for the following standard properties:

  • name
  • formatComponent
  • headerClass
  • itemClass
  • width

Type: string | ((row: Record<string, unknown>, grid: IGridState) => string)
Optional

itemTitle

Type: string | ((row: Record<string, unknown>, grid: IGridState) => string)
Optional

The row item title to use when opening the security dialog. If a plain string is provided it is the field name that contains the item name. Otherwise it is a function that will be called with the row and grid state and must return a string.

disabledField

Type: strin
Default: "isSecurityDisabled"

The field to use to determine if the security button for a single row should be disabled. If the value of this field is true then the security button will be disabled.