@trudb/tru-common-lib 0.2.175 → 0.2.176
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.
|
@@ -6328,15 +6328,12 @@ class TruDataGridClipboard {
|
|
|
6328
6328
|
this.uiNotification = uiNotification;
|
|
6329
6329
|
}
|
|
6330
6330
|
formatCellValue = (controlConfig, propertyConfig, entity, value) => {
|
|
6331
|
-
let controlType = propertyConfig.choices;
|
|
6332
6331
|
if (value === null || typeof value === 'undefined')
|
|
6333
6332
|
return '';
|
|
6334
6333
|
if (propertyConfig.typeName === 'rich-text-unbounded')
|
|
6335
6334
|
return this.util.htmlToPlainText(value);
|
|
6336
6335
|
else if (propertyConfig.typeName === 'foreign-key' || propertyConfig.typeName === 'user-foreign-key')
|
|
6337
6336
|
return this.formatter.excelFormula(propertyConfig.formatter(controlConfig).hid(entity));
|
|
6338
|
-
else if (propertyConfig.typeName === 'text-choices')
|
|
6339
|
-
return this.formatter.excelFormula(propertyConfig.choices[propertyConfig.formatter(controlConfig)]);
|
|
6340
6337
|
else
|
|
6341
6338
|
return this.formatter.excelFormula(propertyConfig.formatter(controlConfig));
|
|
6342
6339
|
};
|