@trudb/tru-common-lib 0.2.290 → 0.2.292
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.
|
@@ -5948,8 +5948,8 @@ class TruDataGridCellRenderer {
|
|
|
5948
5948
|
e.target.classList.contains('invalid-flag') ? this.validationContainer.classList.toggle('show') : this.validationContainer.classList.remove('show');
|
|
5949
5949
|
};
|
|
5950
5950
|
onRightClick = (event) => {
|
|
5951
|
-
|
|
5952
|
-
|
|
5951
|
+
event.stopPropagation();
|
|
5952
|
+
event.preventDefault();
|
|
5953
5953
|
};
|
|
5954
5954
|
init(params) {
|
|
5955
5955
|
params.eGridCell.innerHTML = '';
|
|
@@ -7817,13 +7817,6 @@ class TruDataGrid {
|
|
|
7817
7817
|
this.subs.push(this.connectionHub.subscribe(this.dataContext, this.config.resultConfig.entityType, this.config.resultConfig.entityType.name, this.addEntity, this.getRowData, () => { return this.latestSetupQuery; }, this.config.resultConfig.expands, [], () => { return true; }).subscribe((dataChange) => {
|
|
7818
7818
|
let rowNodesToRemove = [];
|
|
7819
7819
|
dataChange.dataChanges.forEach((change) => {
|
|
7820
|
-
if (change.changeOperation === 'U') {
|
|
7821
|
-
this.api.forEachNode((rowNode) => {
|
|
7822
|
-
if (rowNode.data.$entity.Ref === change.tableRef) {
|
|
7823
|
-
rowNodesToRemove.push(rowNode.data);
|
|
7824
|
-
}
|
|
7825
|
-
});
|
|
7826
|
-
}
|
|
7827
7820
|
if (change.changeOperation === 'D') {
|
|
7828
7821
|
this.api.forEachNode((rowNode) => {
|
|
7829
7822
|
if (rowNode.data.$entity.Ref === change.tableRef) {
|