ngx-deebodata 0.5.1 → 0.5.2
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 +5 -0
- package/fesm2022/ngx-deebodata.mjs +193 -14
- package/fesm2022/ngx-deebodata.mjs.map +1 -1
- package/package.json +2 -2
- package/types/ngx-deebodata.d.ts +8 -2
package/README.md
CHANGED
|
@@ -43,6 +43,7 @@ export class App {
|
|
|
43
43
|
```
|
|
44
44
|
<ngx-deebodata
|
|
45
45
|
[editable]="true"
|
|
46
|
+
[paginate]="false"
|
|
46
47
|
[rowNumbers]="true"
|
|
47
48
|
[data]="sampleData()"
|
|
48
49
|
[color1]="'navy'"
|
|
@@ -65,6 +66,8 @@ export class App {
|
|
|
65
66
|
| Input | Type | Default | Description
|
|
66
67
|
|----------|----------|----------|----------|
|
|
67
68
|
| `editable` | `boolean` | `true` | Allows cells to be edited |
|
|
69
|
+
| `paginate` | `boolean` | `false` | Paginate data in memory |
|
|
70
|
+
| `rowsPerPage` | `number` | `25` | Number of rows per page if paginated=true, max is 250 |
|
|
68
71
|
| `rowNumbers` | `boolean` | `true` | Show row numbers on left hand side of grid |
|
|
69
72
|
| `data` | `signal<any[]>` | `[]` | signal Array of objects to display |
|
|
70
73
|
| `color1` | `string` | `""` | Theme color 1 (css, hex, rgb) |
|
|
@@ -92,6 +95,8 @@ It's best to pass hex or rgb colors to **color1, color2, pieGraphColors, & altRo
|
|
|
92
95
|
|
|
93
96
|
Always pass a **px** string value to defRowHgt like '50px'
|
|
94
97
|
|
|
98
|
+
Row grouping and Row numbers are disabled when paginate=true
|
|
99
|
+
|
|
95
100
|
**forceGrouping** - if a column you want grouping/dropdown filters for isn't getting that treatment automatically, try to force it with this - may or may not work
|
|
96
101
|
depending on how many distinct values the column has and other criteria
|
|
97
102
|
|