PDA

View Full Version : About GridPanel empty row



xxbd123
1 May 2012, 7:02 PM
34760

Ext-js-debug.js: updateSpacer function() in 106510 Line



updateSpacer: function() {
var me = this,


lockedViewEl = me.lockedGrid.getView().el,
normalViewEl = me.normalGrid.getView().el.dom,
spacerId = lockedViewEl.dom.id + '-spacer',
spacerHeight = (normalViewEl.offsetHeight - normalViewEl.clientHeight) + 'px';
//spacerHeight = 0;


me.spacerEl = Ext.getDom(spacerId);
if (me.spacerEl) {
me.spacerEl.style.height = spacerHeight;
} else {
Ext.core.DomHelper.append(lockedViewEl, {
id: spacerId,
style: 'height: ' + spacerHeight
});
}
},

mitchellsimoens
7 May 2012, 6:22 AM
What does your grid code look like?