@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.
Type | Name and description |
---|---|
IUiTableVisitor |
tableVisitor |
Constructor and description |
---|
ColumnHeaderFieldSpec
(IUiTableVisitor tableVisitor) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
label(java.lang.String i18n) Simple header with a label |
|
void |
label(FieldInfo[] fields) Simple header with a label |
|
void |
sortableFieldHeader(FieldInfo[] fields)
|
|
void |
sortableFieldHeader(java.lang.String i18n, FieldInfo[] fields)
|
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 labelSimple header with a label
i18n
- The label
defaultDirection
- Default direction when the table is displayed for the first timefields
- Target field pointing to the data to sort@return
Groovy Documentation