// by returning null we can prevent the "flickering" of the "show more" link
// see http://stackoverflow.com/a/6827755/1538056
//return null;
PageSizePager pager = new PageSizePager(Integer.MAX_VALUE);
// removes the text "Show More" during loading
display.setRowCount(0);
// increase the visible range so that no one ever needs to page
display.setVisibleRange(0, Integer.MAX_VALUE);
pager.setDisplay(display);
return pager;
}