@guiexpert/table 1.1.105 → 1.1.107
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 +13 -0
- package/index.cjs +26 -26
- package/index.d.ts +1 -0
- package/index.js +1149 -980
- package/lib/common/platform.d.ts +10 -0
- package/lib/table/data/common/scroll-position.if.d.ts +28 -0
- package/lib/table/data/options/table-options.if.d.ts +14 -4
- package/lib/table/data/tablemodel/areamodel/abstract-area-model.d.ts +23 -0
- package/lib/table/data/tablemodel/areamodel/area-model-cell-groups.d.ts +1 -1
- package/lib/table/data/tablemodel/areamodel/area-model.if.d.ts +6 -0
- package/lib/table/data/tablemodel/areamodel/cover-grid-body-model.d.ts +16 -1
- package/lib/table/data/tablemodel/cover-grid-table-model.d.ts +15 -1
- package/lib/table/data/tablemodel/table-model.d.ts +16 -2
- package/lib/table/ele-scope.d.ts +10 -1
- package/lib/table/factory/cover-grid-factory.d.ts +66 -1
- package/lib/table/factory/table-factory.d.ts +6 -1
- package/lib/table/mouse-handler.d.ts +6 -1
- package/lib/table/render-scope.d.ts +45 -10
- package/lib/table/sheet-editing/editors/select-cell-editor.d.ts +8 -0
- package/lib/table/table-api.d.ts +30 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,6 +83,19 @@ This is the UI-agnostic table component for your next web app. 😊
|
|
|
83
83
|
- Full control over the HTML structure and style
|
|
84
84
|
|
|
85
85
|
|
|
86
|
+
## Quick answers
|
|
87
|
+
|
|
88
|
+
- **Hide the scroll bars:** `.my-table .ge-table-scroll-viewport { scrollbar-width: none; }` – the table uses the full
|
|
89
|
+
width and height; wheel, touch, keyboard and the API still scroll.
|
|
90
|
+
- **Rows are appended all the time** (live log, ticker): `tableApi.repaintHard({ py })` counts the rows and shows the
|
|
91
|
+
position in one render pass (`py: Number.MAX_SAFE_INTEGER` follows the end) – since 1.1.107.
|
|
92
|
+
- **Own area model with other row heights:** return them from `getRowHeight(i)` and, if all are equal,
|
|
93
|
+
`getConstantRowHeight()` – the scroll height follows them (since 1.1.107; `defaultRowHeights` is only the default).
|
|
94
|
+
- **`repaint()` or `repaintHard()`?** `repaint()` for changed values, `repaintHard()` when rows were added or removed.
|
|
95
|
+
- **Nothing visible?** The host div needs a fixed height and the stylesheet `@guiexpert/table/css/main.css`.
|
|
96
|
+
|
|
97
|
+
More: [FAQ in the developer guide](https://github.com/guiexperttable/mono/blob/main/instructions.md#626-faq--quick-answers).
|
|
98
|
+
|
|
86
99
|
## Links
|
|
87
100
|
|
|
88
101
|
- [Training: GuiExpert Table step by step](https://gui.expert/training/)
|