Changeset 13590
- Timestamp:
- 05/06/08 13:48:32 (7 months ago)
- Files:
-
- 1 modified
-
branches/1.1/dojox/grid/_data/model.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/dojox/grid/_data/model.js
r13152 r13590 639 639 }, 640 640 _storeDatumNew: function(item){ 641 if(this._disableNew) 641 if(this._disableNew){ 642 642 return; 643 } 643 644 // the store has added some item under us, need to add it to the view. 644 645 this._insertItem(item, this.data.length); … … 657 658 } 658 659 var row = this._createRow(storeItem); 660 for(var i in this._rowIdentities){ //increment all the remaining row ids up one 661 var rowIdentity = this._rowIdentities[i]; 662 if(rowIdentity.rowId >= index){ 663 rowIdentity.rowId++; 664 } 665 } 659 666 this._setRowId(storeItem, 0, index); 660 667 dojox.grid.data.Dynamic.prototype.insert.apply(this, [row, index]);