IKDatatableAction Interface
Defines a standardized action button or menu item used across datatables, iterators, tree views, and gantt charts.
Actions can be configured as text buttons or icon-only buttons with specific semantic colors.
Properties available on IKDatatableAction.
| Property | Type | Description |
|---|
| label | string | Textual description binding automatically locally |
| action | (target: any, selectAll?: boolean, filter?: any) => void | Callback executed on action trigger. Row Action: `(row) => void`. Bulk Action: `(selectedRows, selectAll, filter) => void`. |
| icon? | string | Optional embedded SVG icon representation identifier gracefully |
| iconOnly? | boolean | When true, hides the label text and displays only the icon, wrapped in a tooltip containing the label. |
| type? | 'default' | 'primary' | 'danger' | 'success' | 'warning' | 'info' | 'light' | 'dark' | Semantic style variant applied to the underlying button. |
| visible? | Function | Controls visibility. Row Action: `(row) => boolean`. Bulk Action: `(selectedRows, selectAll) => boolean`. |