protected void doDetachChildren() {
WidgetHelper.doDetach(toolBar);
}
protected void onLoad(LoadEvent<PagingLoadConfig, PagingLoadResult> event) {
PagingLoadResult result = event.data;
start = event.data.getOffset();
totalLength = result.getTotalLength();
activePage = (int) Math.ceil((double) (start + pageSize) / pageSize);
pageText.setText(String.valueOf((int) activePage));
pages = totalLength < pageSize ? 1 : (int) Math.ceil((double) totalLength / pageSize);
String after = null, display = null;