@trudb/tru-common-lib 0.2.167 → 0.2.169

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.
@@ -5972,6 +5972,8 @@ class TruDataGridClipboard {
5972
5972
  return '';
5973
5973
  if (propertyConfig.typeName === 'rich-text-unbounded')
5974
5974
  return this.util.htmlToPlainText(value);
5975
+ if (propertyConfig.formatter)
5976
+ return propertyConfig.formatter(propertyConfig);
5975
5977
  return value;
5976
5978
  };
5977
5979
  copyCell = async (params, tableName, columnName, copiedCellData, copiedCellEntity) => {
@@ -6015,7 +6017,7 @@ class TruDataGridClipboard {
6015
6017
  let properties = copiedRow.$entity.entityType.getPropertyNames();
6016
6018
  properties
6017
6019
  .forEach((propertyName) => {
6018
- let propertyConfig = copiedRow[propertyName].property;
6020
+ let propertyConfig = copiedRow[propertyName]?.property;
6019
6021
  if (propertyConfig &&
6020
6022
  propertyName !== tableName + 'Ref' &&
6021
6023
  propertyName !== 'rowver' &&