@trudb/tru-common-lib 0.2.152 → 0.2.154

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.
@@ -5989,8 +5989,10 @@ class TruDataGridClipboard {
5989
5989
  this.uiNotification.error('Clipboard data type does not match the current cell data type: ' + copiedCellDataTypeName + ' vs ' + pastedCellDataTypeName);
5990
5990
  return;
5991
5991
  }
5992
- else
5992
+ else {
5993
5993
  pastedCell.setProperty(columnName, this.copiedCellEntity?.getProperty(columnName));
5994
+ params.api.refreshCells({ force: true });
5995
+ }
5994
5996
  };
5995
5997
  copyRow = (tableName, copiedRows) => {
5996
5998
  this.tableName = tableName;
@@ -6103,7 +6105,7 @@ class TruDataGridCellRenderer {
6103
6105
  this.dataGridClipboard.copyCell(this.params.context.grid.config.tableName, this.params.colDef?.field, this.params.data, this.params.data.$entity);
6104
6106
  };
6105
6107
  onPaste = (event) => {
6106
- this.dataGridClipboard.pasteCell(this.params, this.params.colDef?.field, this.params.data.$entity);
6108
+ this.dataGridClipboard.pasteCell(this.params, this.params.data, this.params.data.$entity);
6107
6109
  };
6108
6110
  init(params) {
6109
6111
  }