Skip to content

ContextMenu

Define the contextmenu for the Cell. On the iOS platform, the context menu will display only when turning off all sections' selection if the metadata contains the context menu and multiple selections at the same time.

ContextMenu Properties

Property Type Required Default
Items MenuItem Optional
LeadingItems string[] Optional
PerformFirstActionWithFullSwipe boolean Optional true
TrailingItems string[] Optional

Items

Define all the swipe actions.

  • type: MenuItem[]

All array items must be of the type: MenuItem


LeadingItems

List of unique name from contextmenu for displaying swipe action at the leading position. MDK only display the 1st action on the Android platform.

  • type: string[]

All items must be of the type: string


PerformFirstActionWithFullSwipe

A Boolean value indicating whether a full swipe automatically performs the first action. It's only for the iOS platform.

  • type: boolean
  • default: true

TrailingItems

List of unique name from contextmenu for displaying swipe action at the trailing position. MDK only display the 1st action on the Android platform.

  • type: string[]

All items must be of the type: string