PDA

View Full Version : [OPEN-1274][3.3 Beta] Ext.grid.HeaderDropZone - unused code?



mankz
17 Sep 2010, 3:45 AM
Can't find any reference to these two defined in Ext.grid.HeaderDropZone, can they be removed?



nextVisible : function(h){
var v = this.view, cm = this.grid.colModel;
h = h.nextSibling;
while(h){
if(!cm.isHidden(v.getCellIndex(h))){
return h;
}
h = h.nextSibling;
}
return null;
},

prevVisible : function(h){
var v = this.view, cm = this.grid.colModel;
h = h.prevSibling;
while(h){
if(!cm.isHidden(v.getCellIndex(h))){
return h;
}
h = h.prevSibling;
}
return null;
},