diff options
-rw-r--r-- | dev/jquery.jtable.editing.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/jquery.jtable.editing.js b/dev/jquery.jtable.editing.js index d48fff5..cb6c0c2 100644 --- a/dev/jquery.jtable.editing.js +++ b/dev/jquery.jtable.editing.js @@ -342,6 +342,7 @@ var $columns = $tableRow.find('td'); for (var i = 0; i < this._columnList.length; i++) { var displayItem = this._getDisplayTextForRecordField(record, this._columnList[i]); + if (displayItem == 0) displayItem = "0"; $columns.eq(this._firstDataColumnOffset + i).html(displayItem || ''); } |