@trudb/tru-common-lib 0.2.186 → 0.2.188

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.
@@ -6376,7 +6376,8 @@ class TruDataGridClipboard {
6376
6376
  columnDefs
6377
6377
  .forEach((columnDef) => {
6378
6378
  let propertyName = columnDef.field;
6379
- headerRow.push(columnDef.headerName || propertyName);
6379
+ if (propertyName && propertyName !== tableName + 'Ref')
6380
+ headerRow.push(columnDef.headerName || propertyName);
6380
6381
  });
6381
6382
  multiRowString += headerRow.join('\t') + '\n';
6382
6383
  }
@@ -6387,7 +6388,7 @@ class TruDataGridClipboard {
6387
6388
  .forEach((columnDef) => {
6388
6389
  let propertyName = columnDef.field;
6389
6390
  let propertyConfig = copiedRow[propertyName]?.property;
6390
- if (propertyConfig)
6391
+ if (propertyConfig && propertyName && propertyName !== tableName + 'Ref')
6391
6392
  rowPropertyValues.push(this.formatCellValue(copiedRow[propertyName], copiedRow[propertyName].property, copiedRow.$entity, copiedRow.$entity.getProperty(propertyName)));
6392
6393
  });
6393
6394
  multiRowString += rowPropertyValues.join('\t') + '\n';