@guiexpert/table 1.0.13 → 1.0.15
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 +10 -11
- package/index.cjs +25 -25
- package/index.d.ts +1 -0
- package/index.js +727 -706
- package/lib/table/data/common/checkbox-column-def.d.ts +1 -0
- package/lib/table/data/common/tree-row-if.d.ts +3 -3
- package/lib/table/data/common/tree-row.d.ts +1 -0
- package/lib/table/data/tablemodel/areamodel/area-model-tree.d.ts +8 -6
- package/lib/table/factory/tree-factory.d.ts +4 -4
- package/lib/table/instanceof-workaround.d.ts +3 -0
- package/lib/table/service/tree-row.service.d.ts +3 -3
- package/lib/table/table-scope.d.ts +2 -1
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ This is the UI-agnostic table component for your next web app. 😊
|
|
|
13
13
|
- Handle large datasets easily
|
|
14
14
|
- Excellent performance for large tables by vertical and horizontal virtual scrolling
|
|
15
15
|
- Fully-featured (advanced sorting and filtering)
|
|
16
|
-
- Highly customizable
|
|
16
|
+
- Highly customizable orderData grid
|
|
17
17
|
- Outstanding performance
|
|
18
18
|
- No third-party dependencies
|
|
19
19
|
- UI-agnostic
|
|
@@ -77,16 +77,15 @@ Finally, call firstInit() at least once.
|
|
|
77
77
|
In this example, you will see the plain TS version. For plain JS, remove ': TableModelIf'.
|
|
78
78
|
|
|
79
79
|
```
|
|
80
|
-
const tableModel: TableModelIf =
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
};
|
|
80
|
+
const tableModel: TableModelIf = TableFactory.createTableModel({
|
|
81
|
+
headerData: [
|
|
82
|
+
['Header 1', 'Header 2']
|
|
83
|
+
],
|
|
84
|
+
bodyData: [
|
|
85
|
+
['Text 1a', 'Text 2a'],
|
|
86
|
+
['Text 1b', 'Text 2b'],
|
|
87
|
+
]
|
|
88
|
+
});
|
|
90
89
|
|
|
91
90
|
const ele = document.querySelector(".container-div") as HTMLDivElement;
|
|
92
91
|
|