ngx-deebodata-community 0.1.6 → 0.1.8
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 -4
- package/package.json +8 -5
- package/types/ngx-deebodata-community.d.ts +1 -1
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ import { NgxDeebodataCommunity } from 'ngx-deebodata-community';
|
|
|
33
33
|
></ngx-deebodata-community>
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
**Pass valid CSS or hex colors to color1, color2, & altRowColor**
|
|
36
|
+
**Pass valid CSS, rgb, or hex colors to color1, color2, & altRowColor**
|
|
37
37
|
|
|
38
38
|
Always pass a **px** value to defRowHgt like '50px'
|
|
39
39
|
|
|
@@ -75,10 +75,11 @@ import { CellEdit, NgxDeebodataCommunity } from 'ngx-deebodata-community';
|
|
|
75
75
|
```
|
|
76
76
|
handleCellEdit(event: CellEdit) {//executes on cell edit if editable isn't false
|
|
77
77
|
/*CellEdit interface -> { value: any; row: any; column: string; idType: string; valueChanged: boolean; }
|
|
78
|
-
row will either be the 0-based index of the edited cell's parent row in the initial data set
|
|
78
|
+
**row** will either be the 0-based index of the edited cell's parent row in the initial data set
|
|
79
79
|
or, if a primaryKey is passed or detected, it will be the value of that primaryKey for the edited
|
|
80
|
-
row. Use idType (will be either "key" or "rowId") to know which one is emitting.
|
|
81
|
-
|
|
80
|
+
row. Use **idType** (will be either "key" or "rowId") to know which one is emitting. **column** is
|
|
81
|
+
the column/attribute and **value** is the real value of the edit, which can be a string, number
|
|
82
|
+
or Date. Use **valueChanged** to know if an edit actually changed the value*/
|
|
82
83
|
// console.log(event)
|
|
83
84
|
}
|
|
84
85
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-deebodata-community",
|
|
3
3
|
"description": "Angular data grid that solves data analysis problems with virtual scroll, column resizing, cell editing, tab accessibility, sorting, and filtering.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.8",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.2.0",
|
|
7
7
|
"@angular/core": "^21.2.0",
|
|
@@ -15,19 +15,22 @@
|
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"repository": {
|
|
18
|
-
"url": "https://github.com/
|
|
18
|
+
"url": "https://github.com/deebodata/ngx-deebodata-community"
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://deebodata.com/ngx-deebodata-documentation/ngx-deebodata-community",
|
|
21
21
|
"keywords": [
|
|
22
22
|
"grid",
|
|
23
23
|
"data-grid",
|
|
24
24
|
"angular",
|
|
25
|
-
"open-source",
|
|
26
25
|
"datagrid",
|
|
26
|
+
"sorting",
|
|
27
|
+
"filtering",
|
|
28
|
+
"data-table",
|
|
27
29
|
"virtual-scroll",
|
|
30
|
+
"table",
|
|
28
31
|
"accessibility",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
32
|
+
"MIT",
|
|
33
|
+
"high-performance"
|
|
31
34
|
],
|
|
32
35
|
"module": "fesm2022/ngx-deebodata-community.mjs",
|
|
33
36
|
"typings": "types/ngx-deebodata-community.d.ts",
|
|
@@ -285,7 +285,7 @@ declare class NgxDeebodataCommunity {
|
|
|
285
285
|
ngOnInit(): void;
|
|
286
286
|
handleDataInput(): void;
|
|
287
287
|
getAllColsAtRuntime(excludeHidden: any): string[];
|
|
288
|
-
setMaxCols():
|
|
288
|
+
setMaxCols(): 5 | 2 | 3;
|
|
289
289
|
getAllColWidth(colLen: any): number;
|
|
290
290
|
removeAllFreezeCols(): void;
|
|
291
291
|
setTableHeight(h: number): void;
|