@logimaxx/kgrid 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -106,8 +106,9 @@ const grid = await KGrid.init(document.getElementById("table-host"), {
106
106
  | `KGrid.init(host, opts)` | Empty host or existing `<table>`; returns grid API |
107
107
  | `KGrid.TABLE_SHELL_TEMPLATE` | Default table HTML (editable) |
108
108
  | `KGrid.hasActionColumn(opts)` | Whether a trailing row-actions column is rendered |
109
+ | `opts.rowActions` | `{ display, items }` for delete/clone/custom; save/cancel from `features.update` |
109
110
  | `KGrid.registerFieldType(name, plugin)` | Custom filter/insert/update widgets |
110
- | `grid.setInteraction('view' \| 'edit')` | View (data only, full width) or edit (inputs + action buttons) |
111
+ | `grid.setInteraction('view' \| 'edit')` | View or edit; menu actions can stay visible in view |
111
112
  | `grid.getLayout()` / `setLayout()` / `resetLayout()` | Column order and user-hidden columns |
112
113
  | `grid.instance` | KViews collection |
113
114
  | `grid.filterForm` | Programmatic filters |