Changeset 19
- Timestamp:
- 08/31/08 23:18:43 (4 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
CHANGELOG (modified) (1 diff)
-
src/BufferedGridView.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHANGELOG
r17 r19 1 Version 0.2rc4 1 Version 0.2rc5 2 31-August-2008 3 4 - fixed: 5 - BufferedGridView.js: typo left in "insertRows()" would prevent the view to reassign 6 the proper rowIndex when argument "isUpdate" was set to true 7 - BufferedGridView.js: wrong parameter passed to "buffer" and "beforebuffer" event caused 8 listeners to use wrong number of visible rows in the grid 9 10 11 Version 0.2rc4 2 12 30-August-2008 3 13 -
trunk/src/BufferedGridView.js
r17 r19 938 938 if (success === true) { 939 939 this.fireEvent('buffer', this, this.ds, this.rowIndex, 940 Math.m ax(this.visibleRows, this.getRows().length),940 Math.min(this.ds.totalLength, this.visibleRows-this.rowClipped), 941 941 this.ds.getTotalCount(), 942 942 options … … 1139 1139 1140 1140 1141 if ( !isUpdate === true) {1141 if (isUpdate === true) { 1142 1142 var rows = this.getRows(); 1143 1143 var cursor = this.rowIndex; … … 1365 1365 1366 1366 this.fireEvent('beforebuffer', this, this.ds, index, 1367 this.visibleRows, this.ds.totalLength); 1367 Math.min(this.ds.totalLength, this.visibleRows-this.rowClipped), 1368 this.ds.totalLength 1369 ); 1368 1370 1369 1371 this.ds.suspendEvents();
