Changes between Version 1 and Version 2 of Ticket #6389


Ignore:
Timestamp:
Apr 23, 2008, 11:56:59 AM (12 years ago)
Author:
benschell
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6389

    • Property Status changed from new to assigned
  • Ticket #6389 – Description

    v1 v2  
    99
    1010{{{
    11 _removeItems: function(inRowIndexes /*array*/){[[BR]]
    12 
    13     // ...[[BR]]
    14 
    15     // Rebuild _rowIdentities[[BR]]
    16 
    17     this._rowIdentities = {};[[BR]]
    18 
    19     for (var i = 0; i < this.data.length; i++){[[BR]]
    20 
    21     '''      // data[i] can be undefined ! need to add check'''[[BR]]
    22     '''      if(this.data[i])'''[[BR]]
    23 
    24         this._setRowId(this.data[i].____dojo_data_item, 0, i);[[BR]]
    25 
    26   }[[BR]]
    27 
    28  }[[BR]]
    29 
     11_removeItems: function(inRowIndexes /*array*/){
     12    // ...
     13    // Rebuild _rowIdentities
     14    this._rowIdentities = {};
     15    for (var i = 0; i < this.data.length; i++){
     16      // data[i] can be undefined ! need to add check
     17      if(this.data[i])
     18        this._setRowId(this.data[i].____dojo_data_item, 0, i);
     19    }
     20}
    3021}}}