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