@logimaxx/kgrid 0.2.3 → 0.4.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 +4 -1
- package/dist/kgrid.js +891 -67
- package/dist/kgrid.min.js +2 -2
- package/docs/ai-guide.md +15 -6
- package/docs/api.md +20 -4
- package/docs/configuration.md +32 -4
- package/docs/field-types.md +22 -0
- package/docs/release.md +180 -0
- package/docs/table-shell.md +1 -0
- package/integrations/maxxops.example.js +0 -1
- package/package.json +1 -1
- package/src/cells.js +19 -1
- package/src/column-chooser.js +155 -0
- package/src/configure.js +66 -15
- package/src/constants.js +13 -1
- package/src/data-body.js +47 -30
- package/src/dom.js +41 -5
- package/src/events.js +17 -0
- package/src/filters.js +37 -2
- package/src/init.js +67 -4
- package/src/insert-row.js +14 -7
- package/src/interaction.js +4 -1
- package/src/preferences.js +404 -0
- package/styles/table.css +94 -6
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,
|
|
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
|
|
|
@@ -96,6 +96,7 @@ const grid = await KGrid.init(document.getElementById("table-host"), {
|
|
|
96
96
|
| [Integration guide](docs/integration.md) | `configure()`, KViews, plugins |
|
|
97
97
|
| [Field types](docs/field-types.md) | Native, built-in, plugins (select2, autosuggest, custom) |
|
|
98
98
|
| [Table shell template](docs/table-shell.md) | HTML template, placeholders, custom markup |
|
|
99
|
+
| [Release guide](docs/release.md) | Maintainer version bump, tag, npm publish |
|
|
99
100
|
|
|
100
101
|
## API overview
|
|
101
102
|
|
|
@@ -107,6 +108,7 @@ const grid = await KGrid.init(document.getElementById("table-host"), {
|
|
|
107
108
|
| `KGrid.hasActionColumn(opts)` | Whether a trailing row-actions column is rendered |
|
|
108
109
|
| `KGrid.registerFieldType(name, plugin)` | Custom filter/insert/update widgets |
|
|
109
110
|
| `grid.setInteraction('view' \| 'edit')` | View (data only, full width) or edit (inputs + action buttons) |
|
|
111
|
+
| `grid.getLayout()` / `setLayout()` / `resetLayout()` | Column order and user-hidden columns |
|
|
110
112
|
| `grid.instance` | KViews collection |
|
|
111
113
|
| `grid.filterForm` | Programmatic filters |
|
|
112
114
|
|
|
@@ -148,4 +150,5 @@ Proprietary. Copyright © Logimaxx System SRL. All rights reserved. See [LICENSE
|
|
|
148
150
|
|----------|---------|
|
|
149
151
|
| [NOTICE.md](NOTICE.md) | Company, author, contact |
|
|
150
152
|
| [CONTRIBUTING.md](CONTRIBUTING.md) | Internal contribution guidelines |
|
|
153
|
+
| [docs/release.md](docs/release.md) | Version, tag, and publish |
|
|
151
154
|
| [SECURITY.md](SECURITY.md) | Vulnerability reporting |
|