@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 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 data grid
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 = TableModelFactory
81
- .createByArrayOfArraysParams<any>(param: {
82
- columnLabels: [
83
- ['Header 1', 'Header 2']
84
- ],
85
- data: [
86
- ['Text 1a', 'Text 2a'],
87
- ['Text 1b', 'Text 2b'],
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