diff --git a/lib/DataSet.js b/lib/DataSet.js index 84d3f8c6..790a39e9 100644 --- a/lib/DataSet.js +++ b/lib/DataSet.js @@ -679,7 +679,7 @@ DataSet.prototype.remove = function (id, senderId) { item = this._remove(ids[i]); if (item) { itemId = item[this._fieldId]; - if (itemId) { + if (itemId != undefined) { removedIds.push(itemId); removedItems.push(item); }