ngx-deebodata 0.0.7 → 0.0.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
CHANGED
|
@@ -44,14 +44,14 @@ import { NgxDeebodata } from 'ngx-deebodata';
|
|
|
44
44
|
></ngx-deebodata>
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
It's best to pass hex colors to **color1, color2, pieGraphColors, & altRowColor,** but css colors work too
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
Always pass a **px** string value to defRowHgt like '50px'
|
|
50
50
|
|
|
51
51
|
**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
|
|
52
52
|
depending on how many distinct values the column has and other criteria
|
|
53
53
|
|
|
54
|
-
**removePieCovers input can be a boolean or a string[] of column names where the pie graph should be uncovered
|
|
54
|
+
**removePieCovers** input can be a boolean or a string[] of column names where the pie graph should be uncovered
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
**To pass Column Symbols (Numeric columns only)**
|
|
@@ -1903,8 +1903,14 @@ class DataCellComponent {
|
|
|
1903
1903
|
}
|
|
1904
1904
|
else {
|
|
1905
1905
|
const nxtCell = this.cellElem.nativeElement?.parentElement?.nextElementSibling?.firstElementChild;
|
|
1906
|
-
if (nxtCell)
|
|
1906
|
+
if (nxtCell) {
|
|
1907
1907
|
nxtCell.focus();
|
|
1908
|
+
}
|
|
1909
|
+
else {
|
|
1910
|
+
const nxtRowCell = document.querySelector("#dataTableRow" + (parseInt(this.rowId.replace(/^dataTableRow/, "")) + 1) + " .data-cell:not(.col-header-minimized)");
|
|
1911
|
+
if (nxtRowCell)
|
|
1912
|
+
nxtRowCell.focus();
|
|
1913
|
+
}
|
|
1908
1914
|
}
|
|
1909
1915
|
}
|
|
1910
1916
|
execFreeEdit() {
|
|
@@ -6010,7 +6016,6 @@ class NgxDeebodata {
|
|
|
6010
6016
|
}
|
|
6011
6017
|
execValClear(e, clearDrag) {
|
|
6012
6018
|
this.blurContEd();
|
|
6013
|
-
console.log("Asdasdassa")
|
|
6014
6019
|
if (e && e.target && e.target.getAttribute("type") === "button") { //keep the cell
|
|
6015
6020
|
try {
|
|
6016
6021
|
this.fCellDragger.nativeElement.focus();
|
|
@@ -6105,10 +6110,20 @@ class NgxDeebodata {
|
|
|
6105
6110
|
handleFDragTab(e) {
|
|
6106
6111
|
if (e && this.common.isTabKey(e)) {
|
|
6107
6112
|
const cell = document.getElementsByClassName("dragger-cell-focused")[0];
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6113
|
+
if (cell) {
|
|
6114
|
+
const nxtCell = cell.parentElement?.nextElementSibling?.firstElementChild;
|
|
6115
|
+
if (nxtCell) {
|
|
6116
|
+
this.dataTableService.autoScrollOnEdit = true;
|
|
6117
|
+
setTimeout(() => { nxtCell.focus(); });
|
|
6118
|
+
}
|
|
6119
|
+
else {
|
|
6120
|
+
const nxtRow = cell.parentElement?.parentElement?.nextElementSibling;
|
|
6121
|
+
if (nxtRow) {
|
|
6122
|
+
const nxtRowCell = document.querySelector("#" + nxtRow.id + " .data-cell:not(.col-header-minimized)");
|
|
6123
|
+
if (nxtRowCell)
|
|
6124
|
+
nxtRowCell.focus();
|
|
6125
|
+
}
|
|
6126
|
+
}
|
|
6112
6127
|
}
|
|
6113
6128
|
}
|
|
6114
6129
|
}
|