@trudb/tru-common-lib 0.2.304 → 0.2.306

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.
@@ -7650,6 +7650,7 @@ class TruDataGrid {
7650
7650
  animateRows: false,
7651
7651
  suppressRowTransform: true,
7652
7652
  rowSelection: 'multiple',
7653
+ suppressRowClickSelection: true,
7653
7654
  rowStyle: { background: 'white' },
7654
7655
  loadingOverlayComponent: TruDataGridLoadingOverlay,
7655
7656
  loadingOverlayComponentParams: {
@@ -8114,6 +8115,8 @@ class TruDataGrid {
8114
8115
  }
8115
8116
  };
8116
8117
  onCellMouseDown = (cellData) => {
8118
+ };
8119
+ onCellClicked = (cellData) => {
8117
8120
  let target = cellData.event.target;
8118
8121
  if (!target.classList.contains('ag-cell-last-left-pinned')) {
8119
8122
  cellData.api.deselectAll();
@@ -8135,9 +8138,9 @@ class TruDataGrid {
8135
8138
  }
8136
8139
  }
8137
8140
  };
8138
- onCellClicked = (cellData) => {
8139
- };
8140
8141
  onRowClicked = (rowData) => {
8142
+ rowData.event.stopPropagation();
8143
+ rowData.event.preventDefault();
8141
8144
  };
8142
8145
  onCellDoubleClicked = (gridConfig) => {
8143
8146
  if (gridConfig.colDef.cellClass === 'ag-pk-aligned-cell')