public @interface GuiInitTableColumn
initial settings for any type of table columns
@GuiIncluded
public class MyApp {
public List<MyElem> getMyTable() { ... }
}
@GuiIncluded
public class MyElem {
@GuiIncluded
@GuiInits(tableColumn = @GuiInitTableColumn
(width=300, sortOrder=SortOder.ASCENDING))
public String getColumn1() { ... } //the width of the column associated to the property becomes 300, and the column is selected as the sorting key.
}
- Since:
- 1.8
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
width
int width- Returns:
- if >0, specifying the column width
- Default:
0
-
sortOrder
SortOrder sortOrder- Returns:
- if not UNSORTED, sepcifying the column as a sorting-key with the specified order.
- Default:
UNSORTED
-