|
|
@@ -24,7 +24,11 @@ function numericRenderer(instance, TD, row, col, prop, value, cellProperties) {
|
|
|
const cellFormatPattern = numericFormat && numericFormat.pattern;
|
|
|
const className = cellProperties.className || '';
|
|
|
const classArr = className.length ? className.split(' ') : [];
|
|
|
-
|
|
|
+ if (numericFormat && numericFormat.zeroFormat !== undefined) {
|
|
|
+ numbro.zeroFormat(numericFormat.zeroFormat);
|
|
|
+ } else {
|
|
|
+ numbro.zeroFormat(null);
|
|
|
+ }
|
|
|
if (typeof cellCulture !== 'undefined' && !numbro.languages()[cellCulture]) {
|
|
|
const shortTag = cellCulture.replace('-', '');
|
|
|
const langData = numbro.allLanguages ? numbro.allLanguages[cellCulture] : numbro[shortTag];
|