@logimaxx/kgrid 0.3.1 → 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
@@ -1,6 +1,6 @@
1
1
  # KGrid
2
2
 
3
- **KGrid** is a declarative data table (JSON configuration) built on [KViews](https://github.com/logimaxx/kviews.js). It supports filtering, sorting, paging, and inline create/update/delete.
3
+ **KGrid** is a declarative data table (JSON configuration) built on [KViews](https://github.com/logimaxx/kviews.js). It supports filtering, sorting, paging, inline create/update/delete, and user-customizable columns with persisted filters.
4
4
 
5
5
  > **Proprietary — Logimaxx System SRL.** This repository is not open source. Use, copy, and distribution require explicit permission. See [LICENSE](LICENSE) and [NOTICE.md](NOTICE.md).
6
6
 
@@ -106,8 +106,10 @@ 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 |
112
+ | `grid.getLayout()` / `setLayout()` / `resetLayout()` | Column order and user-hidden columns |
111
113
  | `grid.instance` | KViews collection |
112
114
  | `grid.filterForm` | Programmatic filters |
113
115