this.createTablePager();
table.draw(createTable(), createOptions());
}
private TableOptions createOptions() {
TableOptions options = TableOptions.create();
options.setSort(TableSort.EVENT);
// TODO options.setSortColumn( );
// TODO complete options.setSortAscending( SortOrder.ASCENDING.equals( displayerSettings.getTableDefaultSortOrder() ) );
options.setPageSize(displayerSettings.getTablePageSize());
options.setShowRowNumber(false);
if ( displayerSettings.getTableWidth() != 0 ) options.setWidth( displayerSettings.getTableWidth() );
return options;
}