vue2-excel-grid 1.1.91 → 1.1.92
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 +1 -0
- package/dist/vue2-excel-grid.esm.js +130 -11
- package/dist/vue2-excel-grid.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/ExcelGrid.vue +126 -7
package/README.md
CHANGED
|
@@ -67,6 +67,7 @@ export default {
|
|
|
67
67
|
- `size` prop — `'small'` | `'middle'` | `'large'`: row height, font size, and padding tuned together
|
|
68
68
|
- `autoWidth` prop — auto-fits every column's width to its content
|
|
69
69
|
- `widthMode` prop — `'full'` (fill the host, default) | `'auto'` (hug the columns, max-content)
|
|
70
|
+
- `columns[].width` accepts any CSS `width` value — px number, `'150px'`, `'20%'` (responsive to container resize until manually resized), `'10em'`, etc. — not just a raw px number
|
|
70
71
|
- `rowVisible` prop — `(row, rowIndex) => boolean` for host-defined row hiding (status filters, parity, etc.), unioned with `hiddenRows`/collapsed groups/`filterRow`
|
|
71
72
|
- `transitionEnabled` prop — row enter/leave animation; automatically disabled during scroll
|
|
72
73
|
- `col.onSelect` callback — fires when a value is picked in a `select`/`treeSelect` column
|