@trudb/tru-common-lib 0.0.606 → 0.0.607
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/esm2020/lib/base-views/search-result/tru-search-result-view-base.mjs +10 -6
- package/fesm2015/trudb-tru-common-lib.mjs +9 -5
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +9 -5
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1623,11 +1623,15 @@ class TruSearchResultViewBase {
|
|
|
1623
1623
|
};
|
|
1624
1624
|
this.onPkeyCellDoubleClicked = (gridConfig) => {
|
|
1625
1625
|
if (this.hasDetailView) {
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1626
|
+
let entities = [];
|
|
1627
|
+
gridConfig.api.forEachNodeAfterFilterAndSort((rowNode) => {
|
|
1628
|
+
entities.push(rowNode.data.$entity);
|
|
1629
|
+
});
|
|
1630
|
+
let windowAddViewEventArgs = new TruDesktopViewConfig();
|
|
1631
|
+
windowAddViewEventArgs.entities = entities;
|
|
1632
|
+
windowAddViewEventArgs.entityIndex = gridConfig.rowIndex;
|
|
1633
|
+
windowAddViewEventArgs.componentName = this.tableName + 'DetailView';
|
|
1634
|
+
this.truWindowEventHandler.addView(windowAddViewEventArgs);
|
|
1631
1635
|
}
|
|
1632
1636
|
else {
|
|
1633
1637
|
alert(this.tablePluralLabel + ' does not have a detail view.');
|