EditColumn

Shows an edit button that will call the click handler when clicked.

Example

<EditColumn @click="onEdit" />

Properties

This column provides default values for the following standard properties:

  • name
  • formatComponent
  • headerClass
  • itemClass
  • width

onClick

Type: (key: string) => (void | Promise<void>)
Optional

Called when the edit button has been clicked. If a Promise is returned then the button will remain disabled until the Promise is resolved.