T
- the type of the object that will be rendered in this column's cellsS
- the type of the sorting parameterpublic interface IColumn<T,S> extends ICellPopulator<T>
DefaultDataTable
Modifier and Type | Method and Description |
---|---|
Component |
getHeader(String componentId)
Returns the component that will be used as the header for the column.
|
default int |
getHeaderColspan() |
default int |
getHeaderRowspan() |
S |
getSortProperty()
Returns the property that this header sorts on.
|
default boolean |
isSortable()
Returns true if the header of the column should be sortable
|
populateItem
detach
Component getHeader(String componentId)
componentId
- component id for the returned ComponentS getSortProperty()
null
is returned the header will be not sortable.default boolean isSortable()
default int getHeaderRowspan()
default int getHeaderColspan()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.