@trudb/tru-common-lib 0.1.821 → 0.1.822

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.
@@ -5802,8 +5802,14 @@ class TruDataGridCellRenderer {
5802
5802
  let value = params.value;
5803
5803
  if (params.value === null)
5804
5804
  value = '';
5805
- var content = document.createTextNode(value);
5806
- params.eGridCell.appendChild(content);
5805
+ if (params.colDef.cellEditor && params.colDef.cellEditor.name === "StdRichTextList") {
5806
+ var section = document.createElement('section');
5807
+ params.eGridCell.appendChild(section.innerHTML = value);
5808
+ }
5809
+ else {
5810
+ var content = document.createTextNode(value);
5811
+ params.eGridCell.appendChild(content);
5812
+ }
5807
5813
  this.validationContainer = document.createElement('div');
5808
5814
  this.validationContainer.className = 'dialog-target';
5809
5815
  let validationFlag = document.createElement('span');