MaximGB
10 Jun 2010, 11:49 PM
Ext version tested:
Ext 3.2.1 and earlier
Adapter used:
ext
css used:
only default ext-all.css
Browser versions tested against:
Non-browser related
Operating System:
Non-OS related
Description:
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);
}
Note:
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.
Ext 3.2.1 and earlier
Adapter used:
ext
css used:
only default ext-all.css
Browser versions tested against:
Non-browser related
Operating System:
Non-OS related
Description:
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);
}
Note:
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.