Changes between Initial Version and Version 1 of Ticket #6389


Ignore:
Timestamp:
Apr 3, 2008, 12:53:11 PM (12 years ago)
Author:
Adam Peller
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6389

    • Property Owner changed from sorvell to benschell
  • Ticket #6389 – Description

    initial v1  
    1 Upon deleting an item from a large store with identity (eg ItemFileWriteStore) the _rowIdenties are rebuilt.
     1Upon deleting an item from a large store with identity (eg !ItemFileWriteStore) the _rowIdenties are rebuilt.
    22In case a user has scrolled through the grid fast enough, the data[] array can contain empty entries.
    33Example: Grid with 20 rowsPerPage, 40 keepRows, 100 rows in total. User scrolls to the end fast, then the data[] contains entries for the first page data[0 ]- data[19 ] and the last page data[80 ] - data[99 ].
    44
    5 Rebuilding of the _rowIdenties has to check whether the data[i] entry exists, otherwise an error data[i].__dojo_data_item does not exist occurs.
     5Rebuilding of the _rowIdenties has to check whether the data[i] entry exists, otherwise an {{{error data[i].__dojo_data_item does not exist}}} occurs.
    66
    77File: dojox/grid/_data/model.js
    88Class: dojox.grid.data.DojoData
    99
    10 
     10{{{
    1111_removeItems: function(inRowIndexes /*array*/){[[BR]]
    1212
     
    2828 }[[BR]]
    2929
     30}}}