ngx-deebodata-community 0.1.3 → 0.1.5

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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # NgxDeebodataCommunity
2
2
 
3
- Open-source data grid with virtual scroll, column resizing, cell editing, tab accessibility, row selection, sorting, and filtering.
3
+ Angular data grid with virtual scroll, column resizing, cell editing, tab accessibility, row selection, sorting, and filtering.
4
4
 
5
5
  ## Usage
6
6
 
@@ -1462,6 +1462,7 @@ class DataCellComponent {
1462
1462
  canEdit = false;
1463
1463
  elCol = "";
1464
1464
  cellStyle = {};
1465
+ inlineLink = false;
1465
1466
  scrollOnTab = false;
1466
1467
  setCellEditScrlActionTO = null;
1467
1468
  rawText;
@@ -1533,8 +1534,11 @@ class DataCellComponent {
1533
1534
  const cell = this.cellElem.nativeElement;
1534
1535
  if (this.cell.text && !cell.textContent)
1535
1536
  cell.textContent = this.cell.text;
1536
- if (this.cell.html && !cell.innerHTML)
1537
+ if (this.cell.html && !cell.innerHTML) {
1537
1538
  cell.innerHTML = this.cell.html;
1539
+ if (/[A-Za-z0-9][ ]?\<a/g.test(this.cell.html) || /a\>[ ]?[A-Za-z0-9]/g.test(this.cell.html))
1540
+ cell.style.display = "inline-block";
1541
+ }
1538
1542
  this.ready = true;
1539
1543
  if (this.cell.html) {
1540
1544
  setTimeout(() => {
@@ -3092,8 +3096,9 @@ class NgxDeebodataCommunity {
3092
3096
  if (cellEl) {
3093
3097
  if (useTxt.prop === "textContent")
3094
3098
  cellEl.textContent = useTxt.value;
3095
- else
3099
+ else {
3096
3100
  cellEl.innerHTML = useTxt.value;
3101
+ }
3097
3102
  if (cell) {
3098
3103
  cell.text = useTxt.prop === "textContent" ? useTxt.value : "";
3099
3104
  if (this.listenToCellDraggerMouseMove)