eru-grid 0.0.21 → 0.0.22
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/fesm2022/eru-grid.mjs
CHANGED
|
@@ -3848,6 +3848,9 @@ class DataCellComponent {
|
|
|
3848
3848
|
if (config?.datatype !== 'number' && config?.datatype !== 'currency') {
|
|
3849
3849
|
return value?.toString() || '';
|
|
3850
3850
|
}
|
|
3851
|
+
if (typeof value === 'string') {
|
|
3852
|
+
return value;
|
|
3853
|
+
}
|
|
3851
3854
|
if (value == 0 && this.replaceZeroValue !== undefined) {
|
|
3852
3855
|
return this.replaceZeroValue;
|
|
3853
3856
|
}
|