@trudb/tru-common-lib 0.2.303 → 0.2.304

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.
@@ -8114,11 +8114,6 @@ class TruDataGrid {
8114
8114
  }
8115
8115
  };
8116
8116
  onCellMouseDown = (cellData) => {
8117
- //this.rowSelectedOnMousedown = cellData.node.isSelected();
8118
- //if (!cellData.event?.shiftKey)
8119
- // this.rowFocuedOnMousedown = cellData.node;
8120
- };
8121
- onCellClicked = (cellData) => {
8122
8117
  let target = cellData.event.target;
8123
8118
  if (!target.classList.contains('ag-cell-last-left-pinned')) {
8124
8119
  cellData.api.deselectAll();
@@ -8135,9 +8130,13 @@ class TruDataGrid {
8135
8130
  cellData.api.deselectAll();
8136
8131
  cellData.node.setSelected(true);
8137
8132
  }
8133
+ cellData.event.stopPropagation();
8134
+ cellData.event.preventDefault();
8138
8135
  }
8139
8136
  }
8140
8137
  };
8138
+ onCellClicked = (cellData) => {
8139
+ };
8141
8140
  onRowClicked = (rowData) => {
8142
8141
  };
8143
8142
  onCellDoubleClicked = (gridConfig) => {