@trudb/tru-common-lib 0.2.165 → 0.2.167

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.
@@ -5967,7 +5967,7 @@ class TruDataGridClipboard {
5967
5967
  this.util = util;
5968
5968
  this.uiNotification = uiNotification;
5969
5969
  }
5970
- formatCellValue = (value, propertyConfig) => {
5970
+ formatCellValue = (propertyConfig, value) => {
5971
5971
  if (value === null || typeof value === 'undefined')
5972
5972
  return '';
5973
5973
  if (propertyConfig.typeName === 'rich-text-unbounded')
@@ -6015,7 +6015,9 @@ class TruDataGridClipboard {
6015
6015
  let properties = copiedRow.$entity.entityType.getPropertyNames();
6016
6016
  properties
6017
6017
  .forEach((propertyName) => {
6018
- if (propertyName !== tableName + 'Ref' &&
6018
+ let propertyConfig = copiedRow[propertyName].property;
6019
+ if (propertyConfig &&
6020
+ propertyName !== tableName + 'Ref' &&
6019
6021
  propertyName !== 'rowver' &&
6020
6022
  propertyName !== 'Merge_Data_Set' &&
6021
6023
  !propertyName.startsWith('o'))