@trudb/tru-common-lib 0.0.605 → 0.0.606
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.
|
@@ -1511,8 +1511,12 @@ class TruSearchViewBase {
|
|
|
1511
1511
|
};
|
|
1512
1512
|
this.onPkeyCellDoubleClicked = (gridConfig) => {
|
|
1513
1513
|
if (this.hasDetailView) {
|
|
1514
|
-
|
|
1515
|
-
|
|
1514
|
+
let entities = [];
|
|
1515
|
+
gridConfig.api.forEachNodeAfterFilterAndSort((rowNode) => {
|
|
1516
|
+
entities.push(rowNode.data.$entity);
|
|
1517
|
+
});
|
|
1518
|
+
let windowAddViewEventArgs = new TruDesktopViewConfig();
|
|
1519
|
+
windowAddViewEventArgs.entities = entities;
|
|
1516
1520
|
windowAddViewEventArgs.entityIndex = gridConfig.rowIndex;
|
|
1517
1521
|
windowAddViewEventArgs.componentName = this.tableName + 'DetailView';
|
|
1518
1522
|
this.windowEventHandler.addView(windowAddViewEventArgs);
|