I’m having an issue where our cell table is only displaying 15 rows. I have something like the following:
//assume these are initialised correctly in the constructor
private final CellTable<DataModel> dataTable;
private DataModel dataModel;
private void initialize(){
dataTable.setRowData(0, data.getDataList());
dataTable.setRowCount(data.getDataList().size());
}
Now getDataList() returns a List<Data> object which has a size of 18, but for some reason it only displays 15.
Is there something I’m missing? Is there some “Gotcha” for celltables that restrict the number of rows it will display?
As a side note, when I sort the list I can see all of the data objects but only 15 at a time…
CellTable, by default, shows 15 items per page.Call
setVisibleRangeto change the rows that theCellTabledisplays. See the Cell Table Developer’s Guide for more details.