@trudb/tru-common-lib 0.2.157 → 0.2.158

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.
@@ -7780,6 +7780,12 @@ class TruDataGrid {
7780
7780
  else if (params.column.isPinned() && event.ctrlKey && event.code === 'KeyV') {
7781
7781
  this.dataGridClipboard.pasteRow(this.api, this.config, this.api.getSelectedRows());
7782
7782
  }
7783
+ else if (!params.column.isPinned() && event.ctrlKey && event.code === 'KeyC') {
7784
+ this.dataGridClipboard.copyCell(params, this.config.tableName, params.colDef?.field, params.data, params.data.$entity);
7785
+ }
7786
+ else if (!params.column.isPinned() && event.ctrlKey && event.code === 'KeyV') {
7787
+ this.dataGridClipboard.pasteCell(params, params.data, params.data.$entity);
7788
+ }
7783
7789
  };
7784
7790
  onCellMouseOver(e) {
7785
7791
  let targetElement = e.event.target;