@trudb/tru-common-lib 0.2.111 → 0.2.112

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.
@@ -5978,12 +5978,11 @@ class TruDataGridClipboard {
5978
5978
  if (this.rowData.length) {
5979
5979
  this.rowData.forEach((copiedRow, index) => {
5980
5980
  selectedRows.forEach((selectedRow) => {
5981
- let properties = this.rowData[index].entityType.getPropertyNames();
5981
+ let properties = copiedRow.entityType.getPropertyNames();
5982
5982
  properties
5983
5983
  .forEach((propertyName) => {
5984
- if (typeof selectedRow.setProperty !== 'undefined')
5985
- var test = '';
5986
- //selectedRow.setProperty(propertyName, this.rowData[index].getProperty(propertyName));
5984
+ if (typeof selectedRow.$entty.setProperty !== 'undefined')
5985
+ selectedRow.$entity.setProperty(propertyName, copiedRow.$entity.getProperty(propertyName));
5987
5986
  });
5988
5987
  });
5989
5988
  });