Builder like pattern for listing object on tables
Closed this issue · 2 comments
Taack commented
it should be wised to hide listing object and paginate from table.
Instead of:
def roles = taackSimpleFilterService.list(Role, 10, f, null, defaultDirection)
and
UiTableSpecifier t = new UiTableSpecifier()
ColumnHeaderFieldSpec.SortableDirection defaultDirection
t.ui Role, {
To have:
UiTableSpecifier t = new UiTableSpecifier()
t.sortColumns(r.authority_).max(10).filter(f).ui Role, {
Taack commented
Must add a symbol into table DSL. Let's call it paginate to get max
results..
Taack commented
see iterate table DSL imrpovement ...