PDA

View Full Version : bug in grid destroy?



tirams
16 Aug 2007, 1:05 PM
-running 1.1 rc1, with prototype.js

When calling Grid destroy which calls GridView destroy I get an exception dds[dd].config is undefined.

code from GridView destroy:



if(this.grid.enableColumnMove){
var dds = Ext.dd.DDM.ids['gridHeader' + this.grid.getGridEl().id];
if(dds){
for(var dd in dds)
if(!dds[dd].config.isTarget && dds[dd].dragElId){
...



one of the dd in dds is a function "extends" ?

Is something else needed for using Grid.destroy to fix this issue?