PDA

View Full Version : Problem using BufferView (it's not rendering the last rows)



elloa
10 May 2012, 8:49 AM
Hi all,

I'm using a BufferView in a BasicGrid, but it's not rendering the last rows. Below my code:

Ext GWT version: 2.2.3

BufferView view = new BufferView();
BasicGrid<MyObject> grid = new BasicGrid<MyObject>(store, columnModel);
grid.setView(view);

The grid has 54 rows, but in IE it shows 53 and in FF it shows 52.

Am I doing something wrong?

I would appreciate any help. Thanks in advance.

sven
10 May 2012, 9:05 AM
The first thing i would check if your configured rowheight matches your real rowheight. If that is not correct, you could up ending in these states.

elloa
10 May 2012, 9:27 AM
Thanks for your answer Sven.

But I put: view.setRowHeight(20);

But it shows the last rows but without data, just some blank rows.

Do you have any hint to give me?

Thanks.