@trudb/tru-common-lib 0.2.188 → 0.2.191

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