Previous Code :
CellTable
SimplePager.Resources pagerResources = GWT.create(SimplePager.Resources.class);
pager = new SimplePager(TextLocation.CENTER, pagerResources, false, 0, true);
pager.setDisplay(table);
pager.setPageSize(10);
table.setPageSize(10);
ListDataProvider
dataProvider.addDataDisplay(table);
List
for (Carrier contact : data) {
list.add(contact);
}
Fix :
pager.startLoading();
Current Code :
CellTable
SimplePager.Resources pagerResources = GWT.create(SimplePager.Resources.class);
pager = new SimplePager(TextLocation.CENTER, pagerResources, false, 0, true);
pager.setDisplay(table);
pager.setPageSize(10);
table.setPageSize(10);
pager.startLoading();
ListDataProvider
dataProvider.addDataDisplay(table);
List
for (Carrier contact : data) {
list.add(contact);
}
No comments:
Post a Comment