# ActionCellProps

**Category:** Features/Actions/Action Cell

## API

### Extends

[TableActionCellProps](https://www.docs.wixdesignsystem.com/?path=/story/components-lists-table--tableactioncell)

### Props

| Prop | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| `secondaryMenuDisabled` | `boolean` | No | - | Whether the secondary actions menu (3-dots) is disabled. When `true`, a disabled icon button replaces the menu. |
| `secondaryMenuDisabledTooltip` | `ReactNode` | No | - | Tooltip content shown on hover when the secondary actions menu is disabled. |
| `primaryAction` | `TableActionCellPrimaryAction \| TableActionCellMainAction[]` | No | - | Primary call to action for each item in a table. Controls the behavior and appearance of the primary action. <br> Can be a single action object or an array of actions. When an array is provided, the first action becomes the primary action and the rest are added to secondary actions. <br> Supported parameters: + `disabledMessage`: Message to show when the action is disabled. Relevant only to grid. + `text`: Specifies action label. + `skin`: Deprecated property that was previously used to control the visual appearance of a button. It has been replaced by the visibility property, which switches skin properties automatically based on visibility options. + `onClick`: Defines a callback function which is called on button click. + `disabled`: [bool] Whether user interactions are disabled. + `prefixIcon`: Icon in front of a button label. + `suffixIcon`: Icon after a button label. + `as`: Renders button as another component or a DOM tag. + `visibility`: Specifies whether the primary action button is visible. When the value is set to `'onHover'`, the button is only visible when the mouse hovers over it, and it appears as a primary button. When the value is set to `'always'`, the button is always visible and appears as a secondary button. This prop extends the `primaryAction` prop in Wix Design System's [TableActionCellProp](https://www.docs.wixdesignsystem.com/?path=/story/components-lists-table--tableactioncell) component. |
| `secondaryActions` | `SecondaryAction[]` | No | - | Secondary CTAs for each item in a table. Controls the behavior and appearance of the secondary actions. <br> Supported parameters: + `deleteSecondaryAction:` A function that adds a "Delete" action as a secondary action. + `text`: Specifies action label to be shown in the tooltip or popover menu. + `icon`: Action icon. + `onClick`: Defines a callback function which is called on button click. + `subtitle`: Action subtitle. + `disabled`: [bool] Whether user interactions are disabled. + `dataHook`: A data-hook HTML attribute to be used in the tests. + `disabledDescription`: [string] Text to display in tooltip when action is visible and disabled. + `tooltipProps`: Controls the tooltip appearance. + `skin`: Controls the skin of the item. OR Divider object containing + `divider`: A divider between the action items in popover menu. This prop extends the `primaryAction` prop in Wix Design System's [TableActionCellProp](https://www.docs.wixdesignsystem.com/?path=/story/components-lists-table--tableactioncell) component. |
| `containerId` | `string` | No | - | This ID is used to specify the target container for [dashboard menu plugin](./?path=/story/features-enrich-slots-and-plugins--slots-and-plugins) items. |
| `size` | `"small" \| "tiny" \| "medium"` | No | `medium` | Controls the size of action buttons. |
| `dataHook` | `string` | No | - | Applies a data-hook HTML attribute to be used in the tests. |
| `onClick` | `(() => void)` | No | - | Called when clicking on the table action cell. |
| `numOfVisibleSecondaryActions` | `number` | No | - | Specifies the number of secondary actions to display outside of the popover menu. |
| `alwaysShowSecondaryActions` | `boolean` | No | - | Specifies whether secondary actions should be visible all the time. By default secondary actions are visible on row hover only. |
| `alwaysShowPrimaryActions` | `boolean` | No | - | Specifies whether primary actions should be visible all the time. By default primary actions are visible on row hover only. |
| `moreActionsTooltipText` | `string` | No | - | Sets the tooltip text of more actions icon button. |
| `moreActionsProps` | `TableActionCellMoreActionsProps` | No | - | Controls the appearance of the more actions icon button. |
| `secondaryActionsProps` | `TableActionCellSecondaryActionsProps` | No | - | Controls the appearance of the visible inline secondary action icon buttons. |
| `popoverMenuProps` | `TableActionCellPopoverMenuProps` | No | - | Controls the appearance of secondary actions menu with all common popover menu props. |

## BI

### Action Cell BI Events

 Event   |   Description   |
--------- | --------------- |
[144:115](https://bo.wix.com/data-tools/bi-catalog-app/event/144:115) | Sent when a user clicks a CTA ('save', 'add', 'delete', 'continue', etc.) in a Wix Patterns component



### Component load events
Event   |   Description   |
--------- | --------------- |
[144:110](https://bo.wix.com/data-tools/bi-catalog-app/event/144:110) | Sent when a Wix Patterns component starts loading
[144:111](https://bo.wix.com/data-tools/bi-catalog-app/event/144:111) | Sent when a Wix Patterns component is done loading


#### 🐪 Couldn't find what you need?
* Check our [BI Catalog](https://bo.wix.com/data-tools/bi-catalog-app?viewId=all-items-view&selectedColumns=src%2Cevid%2Cname%2Cowner%2Cproduct%2CuserType+false%2CdateUpdated%2CdateCreated+false%2CcreatedBy+false%2Cstatus&source=%5B%7B%22id%22%3A%22144%22%2C%22name%22%3A%22144+-+Cairo%22%7D%5D)
* Contact us on [#cairo-bi](https://wix.slack.com/archives/C03N53KURH9)


