ngx-deebodata 0.3.8 → 0.3.9
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 +20 -0
- package/package.json +1 -1
- package/types/ngx-deebodata.d.ts +1 -1
package/README.md
CHANGED
|
@@ -60,6 +60,26 @@ export class App {
|
|
|
60
60
|
></ngx-deebodata>
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
+
**Component Input API**
|
|
64
|
+
|
|
65
|
+
| Input | Type | Default | Description
|
|
66
|
+
|----------|----------|----------|----------|
|
|
67
|
+
| `editable` | `boolean` | `true` | Allows cells to be edited |
|
|
68
|
+
| `rowNumbers` | `boolean` | `true` | Show row numbers on left hand side of grid |
|
|
69
|
+
| `data` | `signal<any[]>` | `[]` | signal Array of objects to display |
|
|
70
|
+
| `color1` | `string` | `""` | Theme color 1 (css, hex, rgb) |
|
|
71
|
+
| `color2` | `string` | `""` | Theme color 2 (css, hex, rgb) |
|
|
72
|
+
| `primaryKey` | `string` | `""` | primary key of your data set, helps performance to add it |
|
|
73
|
+
| `defRowHgt` | `string` | `50px` | default row height (px) |
|
|
74
|
+
| `defGridHgt` | `number` | `500` | default grid height in px |
|
|
75
|
+
| `licenseKey` | `string` | `""` | License key for non localhost deployment |
|
|
76
|
+
| `pieGraphColors` | `string[]` | `[]` | list of colors for pie graph sections if applicable (css, hex, rgb) |
|
|
77
|
+
| `removePieCovers` | `boolean` \| `string[]` | `false` | false removes all pie graph covers, a list of string column names removes only those columns' covers |
|
|
78
|
+
| `altRowColor` | `string` | `""` | alternate row color (css, hex, rgb) |
|
|
79
|
+
| `myColumnStyles` | `ColumnStyles[]` | `[]` | pass css styles to specific values in a column |
|
|
80
|
+
| `myColumnValueColors` | `ColumnValueColors[]` | `[]` | assign a color to a value in pie, line, and bar graphs |
|
|
81
|
+
| `forceGrouping` | `string[]` | `[]` | array of column names to force grouping - gives dropdown filter & pie graphs for the column |
|
|
82
|
+
|
|
63
83
|
It's best to pass hex or rgb colors to **color1, color2, pieGraphColors, & altRowColor,** but css colors work too
|
|
64
84
|
|
|
65
85
|
Always pass a **px** string value to defRowHgt like '50px'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-deebodata",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"description": "Angular data grid and charts solution that solves big data analysis with virtual scroll, row grouping, column resizing, re-ordering, column hiding, cell editing, tab accessibility, sorting with priority, and advanced filtering.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.2.0",
|
package/types/ngx-deebodata.d.ts
CHANGED
|
@@ -373,7 +373,7 @@ declare class NgxDeebodata {
|
|
|
373
373
|
execSetters(): void;
|
|
374
374
|
handleDataInput(): void;
|
|
375
375
|
getAllColsAtRuntime(excludeHidden: any): string[];
|
|
376
|
-
setMaxCols():
|
|
376
|
+
setMaxCols(): 5 | 2 | 3;
|
|
377
377
|
getAllColWidth(colLen: any): number;
|
|
378
378
|
removeAllFreezeCols(): void;
|
|
379
379
|
setTableHeight(h: number, manual?: boolean): void;
|