@trudb/tru-common-lib 0.2.164 → 0.2.165
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.
|
@@ -6012,7 +6012,7 @@ class TruDataGridClipboard {
|
|
|
6012
6012
|
let multiRowString = '';
|
|
6013
6013
|
this.copiedRows.forEach((copiedRow, index) => {
|
|
6014
6014
|
let rowPropertyValues = [];
|
|
6015
|
-
let properties = copiedRow.$
|
|
6015
|
+
let properties = copiedRow.$entity.entityType.getPropertyNames();
|
|
6016
6016
|
properties
|
|
6017
6017
|
.forEach((propertyName) => {
|
|
6018
6018
|
if (propertyName !== tableName + 'Ref' &&
|
|
@@ -6131,7 +6131,7 @@ class TruDataGridPkeyCellRenderer {
|
|
|
6131
6131
|
onCopy = (event) => {
|
|
6132
6132
|
let selectedRows = this.params.api.getSelectedRows();
|
|
6133
6133
|
if (selectedRows.length) {
|
|
6134
|
-
let copiedRowData = selectedRows
|
|
6134
|
+
let copiedRowData = selectedRows;
|
|
6135
6135
|
this.dataGridClipboard.copyRow(this.params.context.grid.config.tableName, copiedRowData);
|
|
6136
6136
|
}
|
|
6137
6137
|
};
|