ngx-deebodata 0.1.6 → 0.1.7

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.
@@ -1780,8 +1780,11 @@ class DataCellComponent {
1780
1780
  const cell = this.cellElem.nativeElement;
1781
1781
  if (this.cell.text && !cell.textContent)
1782
1782
  cell.textContent = this.cell.text;
1783
- if (this.cell.html && !cell.innerHTML)
1783
+ if (this.cell.html && !cell.innerHTML) {
1784
1784
  cell.innerHTML = this.cell.html;
1785
+ if (/ \<a/g.test(this.cell.html) || /a\> /g.test(this.cell.html))
1786
+ cell.style.display = "inline-block";
1787
+ }
1785
1788
  this.ready = true;
1786
1789
  if (this.cell.html) {
1787
1790
  setTimeout(() => {
@@ -1944,7 +1947,7 @@ class DataCellComponent {
1944
1947
  if (nxtRow) {
1945
1948
  this.dataTableService.autoScrollOnEdit = true;
1946
1949
  this.dataTableService.scrollBodyForTabbing(this.dataTableService.shiftKeyDown);
1947
- const nxtRowCell = document.querySelector("#" + nxtRow.id + " .data-cell:not(.col-header-minimized)");
1950
+ const nxtRowCell = document.querySelector("#" + (nxtRow.id || "notHere") + " .data-cell:not(.col-header-minimized)");
1948
1951
  if (nxtRowCell)
1949
1952
  nxtRowCell.focus();
1950
1953
  else {
@@ -6173,7 +6176,7 @@ class NgxDeebodata {
6173
6176
  cell.parentElement?.parentElement?.previousElementSibling;
6174
6177
  if (nxtRow) {
6175
6178
  this.dataTableService.scrollBodyForTabbing(this.dataTableService.shiftKeyDown);
6176
- const nxtRowCell = document.querySelector("#" + nxtRow.id + " .data-cell:not(.col-header-minimized)");
6179
+ const nxtRowCell = document.querySelector("#" + (nxtRow.id || "notHere") + " .data-cell:not(.col-header-minimized)");
6177
6180
  if (nxtRowCell)
6178
6181
  nxtRowCell.focus();
6179
6182
  else {