Developer Docs - Obsidian - ButtonColumn

A column that displays a single button with an icon on it.

Example

Properties

This column provides default values for the following standard properties:

action

Type: (key: string, grid: IGridState) => (void | Promise<void>) Required

Called when the button has been clicked.

iconClass

Type: string Required

The icon CSS class to use as the content for the button.