@guiexpert/demo-table-models 1.0.2 → 1.0.3

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
@@ -74,21 +74,21 @@ Add two properties (tableModel and tableOptions) to the component:
74
74
 
75
75
  ```
76
76
  import {
77
- TableModelFactory,
77
+ TableFactory,
78
78
  TableModelIf,
79
79
  TableOptions,
80
80
  TableOptionsIf
81
81
  } from "@guiexpert/table";
82
82
 
83
- tableModel = TableModelFactory.createByArrayOfArraysParams<any>({
84
- columnLabels: [
83
+ tableModel: TableModelIf = TableFactory.createTableModel({
84
+ headerData: [
85
85
  ['Header 1', 'Header 2']
86
86
  ],
87
- data: [
87
+ bodyData: [
88
88
  ['Text 1a', 'Text 2a'],
89
89
  ['Text 1b', 'Text 2b'],
90
90
  ]
91
- };
91
+ });
92
92
 
93
93
  tableOptions = {
94
94
  ...new TableOptions(),