@groovy.transform.CompileStatic class ColumnHeaderFieldSpec extends java.lang.Object
Base class to define fields in a table header, that will be optionally disposed in columns.
The header columns can contain simple fieldHeader, not sortable or a sortableFieldHeader which provide a bidirectional sortable field.
Modifiers | Name | Description |
---|---|---|
static enum |
ColumnHeaderFieldSpec.DefaultSortingDirection |
Allow to define default sorting order direction. |
static class |
ColumnHeaderFieldSpec.SortableDirection |
Helper class that store necessary info to specify the sort of the table. |
Type | Name and description |
---|---|
IUiTableVisitor |
tableVisitor |
Constructor and description |
---|
ColumnHeaderFieldSpec
(IUiTableVisitor tableVisitor) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Simple header with a label
i18n
- The labelAdd a checkbox, if clicked, the table will group lines. See TaackSimpleFilterService.listInGroup
i18n
- Label of the column fieldfield
- Target field (has to be a direct field of the object)Define an header that can be sorted.
i18n
- Labelfield
- Target fielddefaultDirection
- (optional) Default direction when the table is displayed for the first time.See sortableFieldHeader(java.lang.String, taack.ast.type.FieldInfo, DefaultSortingDirection). The label is automatically set.
defaultDirection
- Default direction when the table is displayed for the first timefields
- Target field pointing to the data to sortSee sortableFieldHeader(java.lang.String, taack.ast.type.FieldInfo, DefaultSortingDirection). The label is automatically set.
fields
- Target field pointing to the data to sortSee sortableFieldHeader(java.lang.String, taack.ast.type.FieldInfo, DefaultSortingDirection). @return
See sortableFieldHeader(java.lang.String, taack.ast.type.FieldInfo, DefaultSortingDirection). @return
See sortableFieldHeader(java.lang.String, taack.ast.type.FieldInfo, DefaultSortingDirection). @return
See sortableFieldHeader(java.lang.String, taack.ast.type.FieldInfo, DefaultSortingDirection). @return
See sortableFieldHeader(java.lang.String, taack.ast.type.FieldInfo, DefaultSortingDirection).
Groovy Documentation