|
|
@@ -60,9 +60,12 @@
|
|
|
|
|
|
$.each(that.options, processDataOptions);
|
|
|
|
|
|
- var _formatter = column.formatter;
|
|
|
+ column.formatter || column.formatter = function (value, row, index) {
|
|
|
+ return value;
|
|
|
+ };
|
|
|
+ column._formatter = column._formatter? column._formatter: column.formatter;
|
|
|
column.formatter = function (value, row, index) {
|
|
|
- var result = _formatter ? _formatter(value, row, index) : value;
|
|
|
+ var result = column._formatter? column._formatter(value, row, index): value;
|
|
|
|
|
|
$.each(column, processDataOptions);
|
|
|
|