ROW - is the generic type of the element representing a row of the grid. It should be a java-bean
oriented object. Immutable objects (that have no setters) can also be used but only for read-only
tables.CELL - is the generic type of the values located in the cells of this column.public interface UiWidgetTableColumn<ROW,CELL> extends UiWidget, HasValueValidators<CELL>, AttributeWriteStringTitle, AttributeWriteEditable, AttributeWriteResizable, AttributeWriteSortable, AttributeWriteReorderable, AttributeWriteSortComparator<CELL>
STYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIAPROPERTY_TITLE| Modifier and Type | Method and Description |
|---|---|
boolean |
isSortable()
This method determines if this object can be sorted.
|
void |
sort()
Like
sort(SortOrder) but will toggle the SortOrder state of this column. |
void |
sort(SortOrder order)
This method sorts the
table-data according to this column using the sort-comparator and the given
order. |
getContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRolevalidateaddValidator, removeValidatorsetTitlegetTitlesetEditableisEditablesetResizableisResizablesetSortablesetReorderableisReorderablesetSortComparatorgetSortComparatorvoid sort()
sort(SortOrder) but will toggle the SortOrder state of this column.void sort(SortOrder order)
table-data according to this column using the sort-comparator and the given
order.order - is the SortOrder.boolean isSortable()
AttributeReadSortableisSortable in interface AttributeReadSortabletrue if a sort comparator is
set and this column allows sorting, false otherwise (if AttributeReadSortComparator.getSortComparator() is null).Copyright © 2001–2016 mmm-Team. All rights reserved.