Hi all, I have a problem with scrollbar of the ListGrid when I bind it with a DataSource (client-only, but the problem appears also with a RestDataSource) and I enable paging and fixedRecordHeights(false).
I see that, in this case, the scrollbar scrolls much more that actual records in the listGrid leaving unused white space at the grid bottom.
If i disable paging or I set fixedRecordHeights the scrollbar scrolls right (no white space).
Attach my testcase of the problem using a ClientOnly DataSource and use setDrawAllMaxCells(20) to apply the paging in my case.
Attach also an image that shows the problem.
I use:
- SmartGwt 3.1
[SmartClient Version: v8.3_2012-11-20/LGPL Development Only (built 2012-11-20)]
- Firefox ESR 10.0.11
I see that, in this case, the scrollbar scrolls much more that actual records in the listGrid leaving unused white space at the grid bottom.
If i disable paging or I set fixedRecordHeights the scrollbar scrolls right (no white space).
Code:
final ListGrid listGrid = new ListGrid(); listGrid.setDataSource(dataSource); // avoid drawing all rows at startup triggers the problem listGrid.setDrawAllMaxCells(20); listGrid.setAutoFetchData(true);
Attach also an image that shows the problem.
I use:
- SmartGwt 3.1
[SmartClient Version: v8.3_2012-11-20/LGPL Development Only (built 2012-11-20)]
- Firefox ESR 10.0.11
Comment