@trudb/tru-common-lib 0.2.333 → 0.2.334
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.
|
@@ -7836,14 +7836,6 @@ class TruDataGrid {
|
|
|
7836
7836
|
this.api.applyTransaction({ remove: rowNodesToRemove });
|
|
7837
7837
|
}
|
|
7838
7838
|
}));
|
|
7839
|
-
// Listen for entities added elsewhere in the app
|
|
7840
|
-
// Merge this logic with addEntity() logic below
|
|
7841
|
-
// Three ways to add: Directly via toolbar, signalR, or listen for entity added event
|
|
7842
|
-
this.subs.push(this.dataContext.onEntityAdded().subscribe((changeArgs) => {
|
|
7843
|
-
if (!changeArgs.entity)
|
|
7844
|
-
return;
|
|
7845
|
-
this.addEntity(changeArgs.entity);
|
|
7846
|
-
}));
|
|
7847
7839
|
this.subs.push(fromEvent(document, 'keydown').subscribe((event) => {
|
|
7848
7840
|
if (this.config.view.active && this.config.view.window.active) {
|
|
7849
7841
|
if (event.code === 'Space' && event.target.classList.contains('ag-cell-value')) {
|