@handsontable/vue3 18.1.3 → 19.0.0-rc10
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/HotColumn.vue.d.ts +3687 -0
- package/HotTable.vue.d.ts +9681 -0
- package/README.md +57 -38
- package/commonjs/vue-handsontable.js +417 -11
- package/dist/vue-handsontable.js +418 -12
- package/dist/vue-handsontable.js.map +1 -1
- package/dist/vue-handsontable.min.js +2 -2
- package/dist/vue-handsontable.min.js.map +1 -1
- package/es/vue-handsontable.mjs +418 -12
- package/helpers.d.ts +127 -0
- package/index.d.ts +4 -0
- package/package.json +18 -15
- package/types.d.ts +9 -0
package/README.md
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
<picture>
|
|
4
4
|
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/handsontable/handsontable/blob/develop/resources/handsontable-logo-white.svg?raw=true"/>
|
|
5
5
|
<source media="(prefers-color-scheme: light)" srcset="https://github.com/handsontable/handsontable/blob/develop/resources/handsontable-logo-black.svg?raw=true"/>
|
|
6
|
-
<img width="360" alt="Logo of Handsontable
|
|
6
|
+
<img width="360" alt="Logo of Handsontable DataGrid" src="https://github.com/handsontable/handsontable/blob/develop/resources/handsontable-logo-black.svg?raw=true"/>
|
|
7
7
|
</picture>
|
|
8
8
|
<br><br>
|
|
9
|
-
<h3>The official <img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/icons/vue-icon.svg" width="16" height="16"> Vue 3 wrapper for Handsontable.
|
|
9
|
+
<h3>The official <img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/icons/vue-icon.svg" width="16" height="16"> Vue 3 wrapper for Handsontable DataGrid.
|
|
10
10
|
<br>
|
|
11
|
-
<a href="https://handsontable.com/docs" target="_blank">JavaScript
|
|
11
|
+
<a href="https://handsontable.com/docs/vue-data-grid" target="_blank">JavaScript component</a> with a spreadsheet-like look and feel.</h3>
|
|
12
12
|
|
|
13
13
|
<p>With its spreadsheet-like editing features, it’s perfect for building data-rich internal apps. It allows users to enter, edit, validate, and process data from various sources. Common use cases include resource planning software (ERP), inventory management systems, digital platforms, and data modeling applications.</p>
|
|
14
14
|
|
|
15
|
-
<a href="https://handsontable.com">Website</a> — <a href="https://handsontable.com/docs/
|
|
15
|
+
<a href="https://handsontable.com">Website</a> — <a href="https://handsontable.com/docs/vue-data-grid">Documentation</a> — <a href="https://handsontable.com/docs/vue-data-grid/themes">Themes</a> — <a href="https://handsontable.com/docs/vue-data-grid/api">API</a> — <a href="https://forum.handsontable.com/">Community</a>
|
|
16
16
|
|
|
17
17
|
<br>
|
|
18
18
|
|
|
@@ -36,25 +36,30 @@
|
|
|
36
36
|
|
|
37
37
|
## ✨ Key Features
|
|
38
38
|
|
|
39
|
-
✅ [Built-in themes](https://handsontable.com/docs/themes/) <br>
|
|
40
|
-
✅ [Flexible API](https://handsontable.com/docs/api/) <br>
|
|
41
|
-
✅ [Virtualization](https://handsontable.com/docs/row-virtualization/) <br>
|
|
42
|
-
✅ [IME support](https://handsontable.com/docs/ime-support/) <br>
|
|
43
|
-
✅ [Internationalization](https://handsontable.com/docs/language/) <br>
|
|
44
|
-
✅ [RTL support](https://handsontable.com/docs/layout-direction/) <br>
|
|
45
|
-
✅ [Accessibility](https://handsontable.com/docs/accessibility/) <br>
|
|
46
|
-
✅ [Keyboard shortcuts](https://handsontable.com/docs/keyboard-shortcuts/) <br>
|
|
47
|
-
✅ [Sorting data](https://handsontable.com/docs/rows-sorting/) <br>
|
|
48
|
-
✅ [Filtering data](https://handsontable.com/docs/column-filter/) <br>
|
|
49
|
-
✅ [400 built-in formulas](https://handsontable.com/docs/formula-calculation/) <br>
|
|
50
|
-
✅ [Configurable selection](https://handsontable.com/docs/selection/) <br>
|
|
51
|
-
✅ [Data validation](https://handsontable.com/docs/cell-validator/) <br>
|
|
52
|
-
✅ [Conditional formatting](https://handsontable.com/docs/conditional-formatting/) <br>
|
|
53
|
-
✅ [Merged cells](https://handsontable.com/docs/merge-cells/) <br>
|
|
54
|
-
✅ [Pinned/frozen columns](https://handsontable.com/docs/column-freezing/) <br>
|
|
55
|
-
✅ [Hiding columns](https://handsontable.com/docs/column-hiding/) <br>
|
|
56
|
-
✅ [Right-click context menu](https://handsontable.com/docs/context-menu/) <br>
|
|
57
|
-
✅ [Row pagination](https://handsontable.com/docs/rows-pagination/) <br>
|
|
39
|
+
✅ [Built-in themes](https://handsontable.com/docs/vue-data-grid/themes/) <br>
|
|
40
|
+
✅ [Flexible API](https://handsontable.com/docs/vue-data-grid/api/) <br>
|
|
41
|
+
✅ [Virtualization](https://handsontable.com/docs/vue-data-grid/row-virtualization/) <br>
|
|
42
|
+
✅ [IME support](https://handsontable.com/docs/vue-data-grid/ime-support/) <br>
|
|
43
|
+
✅ [Internationalization](https://handsontable.com/docs/vue-data-grid/language/) <br>
|
|
44
|
+
✅ [RTL support](https://handsontable.com/docs/vue-data-grid/layout-direction/) <br>
|
|
45
|
+
✅ [Accessibility](https://handsontable.com/docs/vue-data-grid/accessibility/) ([targets WCAG 2.2 AA](https://handsontable.com/docs/vue-data-grid/accessibility-conformance-report/)) <br>
|
|
46
|
+
✅ [Keyboard shortcuts](https://handsontable.com/docs/vue-data-grid/keyboard-shortcuts/) <br>
|
|
47
|
+
✅ [Sorting data](https://handsontable.com/docs/vue-data-grid/rows-sorting/) <br>
|
|
48
|
+
✅ [Filtering data](https://handsontable.com/docs/vue-data-grid/column-filter/) <br>
|
|
49
|
+
✅ [400 built-in formulas](https://handsontable.com/docs/vue-data-grid/formula-calculation/) <br>
|
|
50
|
+
✅ [Configurable selection](https://handsontable.com/docs/vue-data-grid/selection/) <br>
|
|
51
|
+
✅ [Data validation](https://handsontable.com/docs/vue-data-grid/cell-validator/) <br>
|
|
52
|
+
✅ [Conditional formatting](https://handsontable.com/docs/vue-data-grid/conditional-formatting/) <br>
|
|
53
|
+
✅ [Merged cells](https://handsontable.com/docs/vue-data-grid/merge-cells/) <br>
|
|
54
|
+
✅ [Pinned/frozen columns](https://handsontable.com/docs/vue-data-grid/column-freezing/) <br>
|
|
55
|
+
✅ [Hiding columns](https://handsontable.com/docs/vue-data-grid/column-hiding/) <br>
|
|
56
|
+
✅ [Right-click context menu](https://handsontable.com/docs/vue-data-grid/context-menu/) <br>
|
|
57
|
+
✅ [Row pagination](https://handsontable.com/docs/vue-data-grid/rows-pagination/) <br>
|
|
58
|
+
✅ [Server-side data](https://handsontable.com/docs/vue-data-grid/server-side-data/) <br>
|
|
59
|
+
✅ [Notifications](https://handsontable.com/docs/vue-data-grid/notification/) <br>
|
|
60
|
+
✅ [Export to Excel](https://handsontable.com/docs/vue-data-grid/export-to-excel/) <br>
|
|
61
|
+
✅ [Date and time editing](https://handsontable.com/docs/vue-data-grid/cell-type/) <br>
|
|
62
|
+
✅ [Shadow DOM / Web Components support](https://handsontable.com/docs/vue-data-grid/shadow-dom/) <br>
|
|
58
63
|
|
|
59
64
|
<div id="installation">
|
|
60
65
|
|
|
@@ -71,7 +76,7 @@ Below is the installation guide for the Handsontable with Vue 3 wrapper. If you'
|
|
|
71
76
|
npm install handsontable @handsontable/vue3
|
|
72
77
|
```
|
|
73
78
|
|
|
74
|
-
You can load it directly from [jsDelivr](https
|
|
79
|
+
You can load it directly from [jsDelivr](https://www.jsdelivr.com/package/npm/@handsontable/vue3) as well.
|
|
75
80
|
```html
|
|
76
81
|
<script src="https://cdn.jsdelivr.net/npm/handsontable/dist/handsontable.full.min.js"></script>
|
|
77
82
|
<script src="https://cdn.jsdelivr.net/npm/@handsontable/vue3/dist/vue-handsontable.min.js"></script>
|
|
@@ -81,11 +86,12 @@ The component will be available as `Handsontable.vue.HotTable`.
|
|
|
81
86
|
|
|
82
87
|
### Usage
|
|
83
88
|
|
|
84
|
-
Use this data grid as you would any other component in your application. [Options](https://handsontable.com/docs/api/options/) can be set as `HotTable` props.
|
|
89
|
+
Use this data grid as you would any other component in your application. [Options](https://handsontable.com/docs/vue-data-grid/api/options/) can be set as `HotTable` props.
|
|
85
90
|
|
|
86
91
|
**Vue 3 Component**
|
|
87
92
|
```vue
|
|
88
93
|
<template>
|
|
94
|
+
<!-- license-key="your-license-key" (get a key at https://handsontable.com/pricing/) -->
|
|
89
95
|
<hot-table
|
|
90
96
|
:data="data"
|
|
91
97
|
:row-headers=true
|
|
@@ -94,7 +100,6 @@ Use this data grid as you would any other component in your application. [Option
|
|
|
94
100
|
:tab-navigation=true
|
|
95
101
|
:multi-column-sorting=true
|
|
96
102
|
header-class-name="htLeft"
|
|
97
|
-
license-key="non-commercial-and-evaluation"
|
|
98
103
|
>
|
|
99
104
|
<hot-column title="Company" data="company" width=100></hot-column>
|
|
100
105
|
<hot-column title="Country" data="country" width=170 type="dropdown" :source="['United Kingdom', 'Japan', 'United States']"></hot-column>
|
|
@@ -138,7 +143,7 @@ Use this data grid as you would any other component in your application. [Option
|
|
|
138
143
|
|
|
139
144
|
## 🎨 Themes
|
|
140
145
|
|
|
141
|
-
Handsontable themes control how your data
|
|
146
|
+
Handsontable themes control how your data grid looks: colors, spacing, typography, borders, and overall visual style.
|
|
142
147
|
|
|
143
148
|
You get three built-in themes out of the box:
|
|
144
149
|
- main – modern, clean, default choice
|
|
@@ -165,7 +170,7 @@ To stay aligned with design, you can rely on the:
|
|
|
165
170
|
|
|
166
171
|
- [Website](https://handsontable.com)
|
|
167
172
|
- [Demo](https://handsontable.com/demo)
|
|
168
|
-
- [Documentation](https://handsontable.com/docs/
|
|
173
|
+
- [Documentation](https://handsontable.com/docs/vue-data-grid)
|
|
169
174
|
- [npm](https://www.npmjs.com/package/@handsontable/vue3)
|
|
170
175
|
- [CDN](https://www.jsdelivr.com/package/npm/@handsontable/vue3)
|
|
171
176
|
- [Forum](https://forum.handsontable.com/)
|
|
@@ -175,9 +180,9 @@ To stay aligned with design, you can rely on the:
|
|
|
175
180
|
|
|
176
181
|
<br>
|
|
177
182
|
|
|
178
|
-
## 🤔 Is Handsontable a
|
|
183
|
+
## 🤔 Is Handsontable DataGrid a data grid or a spreadsheet?
|
|
179
184
|
|
|
180
|
-
Handsontable is a data grid component written in JavaScript, not a spreadsheet. However, it brings in many features typically found in spreadsheet software. We designed it this way because spreadsheet-like patterns are often the most user-friendly when it comes to data entry and management.
|
|
185
|
+
Handsontable DataGrid is a data grid component written in JavaScript, not a spreadsheet. However, it brings in many features typically found in spreadsheet software. We designed it this way because spreadsheet-like patterns are often the most user-friendly when it comes to data entry and management.
|
|
181
186
|
|
|
182
187
|
### Spreadsheet-like features in Handsontable:
|
|
183
188
|
|
|
@@ -195,12 +200,20 @@ At first glance, it might seem that a data table, spreadsheet, and data grid are
|
|
|
195
200
|
|
|
196
201
|
<br>
|
|
197
202
|
|
|
203
|
+
## 🤖 AI & agent resources
|
|
204
|
+
|
|
205
|
+
Working with an AI assistant or coding agent? Handsontable DataGrid and HyperFormula ship first-party agent resources:
|
|
206
|
+
|
|
207
|
+
- **Agent Skills** — install in Claude Code with `/plugin marketplace add handsontable/handsontable-skills` → [github.com/handsontable/handsontable-skills](https://github.com/handsontable/handsontable-skills)
|
|
208
|
+
- **Docs MCP server** — live semantic search over the docs, API reference, release notes, and GitHub issues: `claude mcp add --transport http handsontable-docs https://docs-assistant.handsontable.com/mcp` → [guide](https://handsontable.com/docs/vue-data-grid/docs-mcp-server/)
|
|
209
|
+
- **Docs written for agents** — every docs page has a Markdown twin; start at [handsontable.com/docs/llms.txt](https://handsontable.com/docs/llms.txt)
|
|
210
|
+
|
|
198
211
|
## 🛟 Support
|
|
199
212
|
|
|
200
213
|
**We're here to help!**
|
|
201
214
|
|
|
202
215
|
If you're using Handsontable with a free, non-commercial license, you can:
|
|
203
|
-
-
|
|
216
|
+
- Get quick help from our [**Ask AI** assistant](https://handsontable.com/docs/vue-data-grid/ai-docs-assistant/) available in the documentation.
|
|
204
217
|
- Report any bugs you find on our [GitHub Issue Board](https://github.com/handsontable/handsontable/issues).
|
|
205
218
|
- Connect with other developers and find answers on our [Developer Forum](https://forum.handsontable.com).
|
|
206
219
|
|
|
@@ -210,22 +223,28 @@ If you have a commercial license, feel free to contact us directly at [support@h
|
|
|
210
223
|
|
|
211
224
|
## 📖 Licenses
|
|
212
225
|
|
|
213
|
-
Handsontable is available under
|
|
226
|
+
Handsontable DataGrid is available under the following licensing options. Each license comes with its own terms and conditions, as outlined below:
|
|
214
227
|
|
|
215
|
-
### ① Free
|
|
216
|
-
|
|
217
|
-
[Learn more here](https://github.com/handsontable/handsontable/blob/master/handsontable-non-commercial-license.pdf).
|
|
228
|
+
### ① Free trial for evaluation
|
|
229
|
+
Businesses and other organizations can evaluate Handsontable DataGrid for free. Start a trial at [handsontable.com/pricing](https://handsontable.com/pricing/) to get a trial license key. The trial covers internal evaluation outside production, runs once, and can't be renewed. During the trial, you can contact our technical support team. When it ends, you need a commercial license to keep using Handsontable DataGrid.
|
|
218
230
|
|
|
219
231
|
### ② Commercial license
|
|
220
232
|
For commercial use, a paid license is required. This license includes support and maintenance to ensure you get the most out of Handsontable. The commercial license can be purchased directly from Handsoncode or through an [authorized reseller](https://handsontable.com/resellers). See the [pricing page](https://handsontable.com/pricing) for details.
|
|
221
233
|
|
|
234
|
+
### ③ Free license for non-commercial projects
|
|
235
|
+
Non-commercial projects, such as teaching or academic research, may qualify for a free license. To apply, [contact our sales team](https://handsontable.com/contact/) and tell us about your project.
|
|
236
|
+
|
|
222
237
|
<br>
|
|
223
238
|
|
|
224
239
|
## 🔑 License Key
|
|
225
240
|
|
|
226
|
-
|
|
241
|
+
Pass your license key in the `licenseKey` option. The examples above leave that line commented out: uncomment it and add your key.
|
|
242
|
+
|
|
243
|
+
To evaluate Handsontable, [get a trial key](https://handsontable.com/pricing/). During the trial, the grid shows the Handsontable badge, plus a "Powered by Handsontable DataGrid" bar below the table when the key's terms ask for it, and the console warns how many days remain. After the trial expires, the grid shows an expiration message and the console reports an error. When the grace period stored in the key also passes, a blocking screen replaces the grid. See [Trial keys](https://handsontable.com/docs/vue-data-grid/license-key/#trial-keys) for details.
|
|
244
|
+
|
|
245
|
+
For non-commercial use, [contact our sales team](https://handsontable.com/contact/) to apply for a free license.
|
|
227
246
|
|
|
228
|
-
If you're using Handsontable in a project that supports commercial activities, you'll need to purchase a license key at [handsontable.com/pricing](https://handsontable.com/pricing). You can find more details in [our documentation](https://handsontable.com/docs/license-key/).
|
|
247
|
+
If you're using Handsontable in a project that supports commercial activities, you'll need to purchase a license key at [handsontable.com/pricing](https://handsontable.com/pricing). You can find more details in [our documentation](https://handsontable.com/docs/vue-data-grid/license-key/).
|
|
229
248
|
|
|
230
249
|
<br>
|
|
231
250
|
|
|
@@ -240,4 +259,4 @@ Created and maintained by the [Handsontable Team](https://handsontable.com/team)
|
|
|
240
259
|
|
|
241
260
|
---
|
|
242
261
|
|
|
243
|
-
© 2012 -
|
|
262
|
+
© 2012 - 2026 Handsoncode
|