TB01 Predefined Actions
Built-in add, delete, duplicate, and move actions with trigger modes
Live Demo
Hover over rows to see the toolbar.
Code
Configuration
Predefined Actions
'add'- Add new row'delete'- Delete row'duplicate'- Clone row'moveUp'- Move row up'moveDown'- Move row down
Trigger Modes
toolbarTrigger:
hover- Show on hover (default)click- Show on row clickbutton- Show via button
TB02 Custom Actions
Custom toolbar items with icons, groups, danger styling, and keyboard shortcuts
Live Demo
Hover over a row and press E, A, or Delete key.
Code
Configuration
Custom Item Properties
id - Unique identifier
icon - Emoji or text icon
title - Tooltip text
label - Button text
danger - Red styling
group - Group number for dividers
disabled - Boolean or callback
Keyboard Shortcuts
When toolbar is visible, rowShortcuts work on the hovered row - no cell focus required!
TB03 Multi-Row & Positioning
Multi-row toolbars with groups, position, and alignment options
Live Demo
Hover to see 2-row toolbar with grouped buttons.
Configuration
Preferred side (falls back if no space). Inline = always-visible column.
Vertical alignment: top (rows above), center, bottom (rows below)
Horizontal alignment (top position only)
Options
Multi-Row & Groups
Use row and group properties:
row: 1- First row of buttonsrow: 2- Second rowgroup: 1, 2...- Creates dividers
toolbarPosition
auto- Auto-detect (default)left/right/top
toolbarVerticalAlign
top- Rows stack abovecenter- Centered on rowbottom- Rows stack below (default)
toolbarHorizontalAlign
start/center/end/cursor
TB04 Inline Actions Column
Always-visible actions column with per-row disabled/hidden callbacks
Live Demo
Actions always visible. Hover row and press Delete or A key.
Code
Features
When to Use
Use inline when actions should always be visible, not hidden behind hover.
Key Properties
toolbarPosition: 'inline'inlineActionsTitle- Column header
Per-Row Callbacks
disabled: (row) => boolean- Grayed outhidden: (row) => boolean- Not rendered
Keyboard Shortcuts
rowShortcuts work when hovering over a row - no floating toolbar needed!
Comparison
| Floating | Inline |
|---|---|
| Appears on hover | Always visible |
| Saves space | Uses column width |
| Good for many actions | Good for few actions |
TB05 Advanced Toolbar Features
Cell toolbar, cursor following, and column pinning
Features
These features are configured via JavaScript API.
Code
Description
Toolbar Follows Cursor
toolbarFollowsCursor makes the toolbar track the mouse position horizontally within the row.
Cell Toolbar
cellToolbar callback returns different toolbar items based on which cell is hovered. Return null to use the default toolbar.
Column Pinning
toolbarColumn pins the toolbar to appear over a specific column instead of floating at the row edge.