@trudb/tru-common-lib 0.1.991 → 0.1.993
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.
|
@@ -5892,16 +5892,15 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5892
5892
|
// private eGui: is an empty element to satisfy the getGui method.
|
|
5893
5893
|
eGui;
|
|
5894
5894
|
onRightClick = (event) => {
|
|
5895
|
-
event.stopPropagation();
|
|
5896
5895
|
event.preventDefault();
|
|
5897
5896
|
};
|
|
5898
5897
|
init(params) {
|
|
5899
|
-
params.eGridCell.innerHTML = '';
|
|
5900
|
-
let value = params.value;
|
|
5901
|
-
if (params.value < 0)
|
|
5902
|
-
|
|
5903
|
-
var content = document.createTextNode(value);
|
|
5904
|
-
params.eGridCell.appendChild(content);
|
|
5898
|
+
//params.eGridCell.innerHTML = '';
|
|
5899
|
+
//let value = params.value;
|
|
5900
|
+
//if (params.value < 0)
|
|
5901
|
+
// value = 'NEW';
|
|
5902
|
+
//var content = document.createTextNode(value);
|
|
5903
|
+
//params.eGridCell.appendChild(content);
|
|
5905
5904
|
params.eGridCell.addEventListener('contextmenu', this.onRightClick);
|
|
5906
5905
|
}
|
|
5907
5906
|
getGui() {
|