React CardView - ContextMenuPreparingEvent

The argument type in the contextMenuPreparing event.

import { CardViewTypes } from "devextreme-react/card-view"
Type: CardViewTypes.ContextMenuPreparingEvent

card

The card properties.

Type: any

cardIndex

The index of the card on which the context menu is invoked.

Type:

Number

column

The column's configuration.

Type:

Column

columnIndex

The index of the column on which the context menu is invoked.

Type:

Number

component

The UI component's instance.

Selector: Component
Type: CardView

element

The UI component's container.

items

Items to be displayed in the context menu.

Type:

Array<any>

Their structure is described in the items property description. Each item also contains the onItemClick event handler that allows you to access the clicked or tapped item's data.

target

The name of the element on which the context menu is invoked: "headerPanel", "content", or "toolbar".

This field is read-only.

targetElement

The target element's container.