PDA

View Full Version : cannot position gridpanel with rowbody feature to the last row



Vovan81
7 May 2014, 8:30 AM
Hi,

I'm using a girdpanel with rowbody feature. Here's how it loos like:



{
ftype: 'rowbody',
getAdditionalData : function(data, rowIndex, record, orig){
return {
rowBody : record.data.Content,
rowBodyColspan : 4
};
}
}


My requirement is to scroll to the last row of the grid:




var rec = executionsStore.getAt(executionsStore.count() - 1);
window.down("#executionsStoreId").getView().focusRow(rec);


It' is working fine without the rowbody feature, but when this feature is turned on, then the grid is showing only the half of the last record (see attachment), i.e. without the rowbody. But I would like to see the rowbody as well.

Can you please give me advice how to resolve this.

I'm on ExtJS 4.2 and this appears in FF, Chrome and IE

Cheers,
Vovan

scottmartin
7 May 2014, 9:56 AM
You would need to provide more information. Perhaps a small test case?
https://fiddle.sencha.com/#home