|
|
@@ -57,8 +57,8 @@ $.BootstrapTable = class extends $.BootstrapTable {
|
|
|
column.formatter = column.formatter || (value => value)
|
|
|
column._formatter = column._formatter ? column._formatter : column.formatter
|
|
|
column.formatter = (value, row, index) => {
|
|
|
- const result = Utils.calculateObjectValue(column,
|
|
|
- column._formatter, [value, row, index], value)
|
|
|
+ let result = Utils.calculateObjectValue(column, column._formatter, [value, row, index], value)
|
|
|
+ result = typeof result === 'undefined' || result === null ? this.options.undefinedText : result
|
|
|
|
|
|
$.each(column, processDataOptions)
|
|
|
|