View Full Version : [FIXED-1035] DataView doesn't pass start_index to collectData() during bufferRender

10 Jun 2010, 11:49 PM
Ext version tested:

Ext 3.2.1 and earlier

Adapter used:


css used:

only default ext-all.css

Browser versions tested against:

Non-browser related

Operating System:

Non-OS related


Ext.DataView component doesn't pass start_index parameter to collectData() method during bufferRender() method call thus making it impossible to apply absolute record position dependent data collection logic.

Possible fix:

// private
bufferRender : function(records, start_index){
var div = document.createElement('div');
this.tpl.overwrite(div, this.collectData(records, start_index));
return Ext.query(this.itemSelector, div);

During the onAdd() / onUpdate() calls the bufferRender() method is passed the start_index as it's second parameter whereas now it's parameter list has only one parameter - records.

28 Jun 2010, 5:32 AM
Thanks, fixed in SVN.