| Modifier and Type | Method and Description |
|---|---|
ColumnConfig<T> |
ColumnConfig.addShowHideListener(ColumnShowHideListener showHideListener)
Adds a listener to listen for column hide/show changes
|
ColumnConfig<T> |
ColumnConfig.alignCenter()
a shortcut to
setWidth(String) with value center |
ColumnConfig<T> |
ColumnConfig.alignLeft()
a shortcut to
setWidth(String) with value left |
ColumnConfig<T> |
ColumnConfig.alignRight()
a shortcut to
setWidth(String) with value right |
ColumnConfig<T> |
ColumnConfig.asHeader() |
static <T> ColumnConfig<T> |
ColumnConfig.create(String name)
Creates an instance with a name which will also be used as a title
|
static <T> ColumnConfig<T> |
ColumnConfig.create(String name,
String title)
Creates an instance with a name and title
|
ColumnConfig<T> |
TableConfig.getColumnByName(String name)
get a column config by the column name
|
ColumnConfig<T> |
RowCell.getColumnConfig() |
ColumnConfig<T> |
ColumnConfig.hide()
Hides the column and call the listeners
|
ColumnConfig<T> |
ColumnConfig.hideOn(ScreenMedia hideOn) |
ColumnConfig<T> |
ColumnConfig.maxWidth(String maxWidth) |
ColumnConfig<T> |
ColumnConfig.minWidth(String minWidth) |
ColumnConfig<T> |
ColumnConfig.removeShowHideListener(ColumnShowHideListener showHideListener)
remove the listener
|
ColumnConfig<T> |
ColumnConfig.setCellRenderer(CellRenderer<T> cellRenderer)
sets the cell renderer for this column
|
ColumnConfig<T> |
ColumnConfig.setDrawTitle(boolean drawTitle)
Set if the column should render its title or not
|
ColumnConfig<T> |
ColumnConfig.setEditableCellRenderer(CellRenderer<T> editableCellRenderer)
sets the cell renderer to render this column cells in editable mode
|
ColumnConfig<T> |
ColumnConfig.setFixed(boolean fixed) |
ColumnConfig<T> |
ColumnConfig.setHeaderElement(HeaderElementSupplier headerElement)
Deprecated.
|
ColumnConfig<T> |
ColumnConfig.setHeaderElementSupplier(HeaderElementSupplier headerElement)
Sets a custom header element for the column
|
ColumnConfig<T> |
ColumnConfig.setPluginColumn(boolean pluginColumn)
flags the columns as a plugin column or not
|
ColumnConfig<T> |
ColumnConfig.setShowTooltip(boolean showTooltip) |
ColumnConfig<T> |
ColumnConfig.setSortable(boolean sortable)
set wither the column can be used to sort the data or not
|
ColumnConfig<T> |
ColumnConfig.setSortable(boolean sortable,
String sortKey)
set wither the column can be used to sort the data or not
|
ColumnConfig<T> |
ColumnConfig.setTitle(String title) |
ColumnConfig<T> |
ColumnConfig.setTooltipNode(elemental2.dom.Node tooltipNode)
sets a custom tooltip element
|
ColumnConfig<T> |
ColumnConfig.setTooltipText(String tooltipText)
sets the tooltip text
|
ColumnConfig<T> |
ColumnConfig.setWidth(String width) |
ColumnConfig<T> |
ColumnConfig.show()
show the column and call the listeners
|
ColumnConfig<T> |
ColumnConfig.showOn(ScreenMedia showOn) |
ColumnConfig<T> |
ColumnConfig.sortable()
a shortcut for
setSortable(boolean) with value true |
ColumnConfig<T> |
ColumnConfig.sortable(String sortKey)
a shortcut for
setSortable(boolean) with value true |
ColumnConfig<T> |
ColumnConfig.styleCell(ColumnConfig.CellStyler<T> cellStyler)
a hook to style a cell in the column
|
ColumnConfig<T> |
ColumnConfig.styleHeader(ColumnConfig.CellStyler<T> headerStyler)
a hook to style a column header
|
ColumnConfig<T> |
ColumnConfig.textAlign(String textAlign) |
ColumnConfig<T> |
ColumnConfig.toggleDisplay(boolean visible) |
| Modifier and Type | Method and Description |
|---|---|
List<ColumnConfig<T>> |
TableConfig.getColumns() |
List<ColumnConfig<T>> |
TableConfig.getVisibleColumns() |
| Modifier and Type | Method and Description |
|---|---|
TableConfig<T> |
TableConfig.addColumn(ColumnConfig<T> column)
Adds a configuration for a column in the data table
|
static <T> void |
ColumnUtils.fixElementWidth(ColumnConfig<T> column,
elemental2.dom.HTMLElement element,
String fixedDefaultColumnWidth) |
void |
TableConfig.UtilityColumnHandler.handle(ColumnConfig<T> utilityColumn) |
TableConfig<T> |
TableConfig.insertColumnFirst(ColumnConfig<T> column)
Adds a configuration for a column in the data table as the first column over the existing
columns list
|
TableConfig<T> |
TableConfig.insertColumnLast(ColumnConfig<T> column)
Adds a configuration for a column in the data table as the last column after the existing
columns list
|
void |
TableRow.renderCell(ColumnConfig<T> columnConfig) |
| Constructor and Description |
|---|
RowCell(CellRenderer.CellInfo<T> cellInfo,
ColumnConfig<T> columnConfig)
Creates and initialize an instance with the cell info and column info
|
| Modifier and Type | Method and Description |
|---|---|
ColumnConfig<T> |
SortEvent.getColumnConfig() |
| Constructor and Description |
|---|
SortEvent(SortDirection sortDirection,
ColumnConfig<T> columnConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
ColumnHeaderFilterPlugin.HeaderFilter.init(SearchContext<T> searchContext,
ColumnConfig<T> columnConfig)
Initializes the header filter with the data table search context and the column config to
which the filter is being added
|
void |
SortPlugin.onHeaderAdded(DataTable<T> dataTable,
ColumnConfig<T> column)
This method will be called right after adding a column header element to the table
|
void |
SelectionPlugin.onHeaderAdded(DataTable<T> dataTable,
ColumnConfig<T> column) |
default void |
DataTablePlugin.onHeaderAdded(DataTable<T> dataTable,
ColumnConfig<T> column)
This method will be called right after adding a column header element to the table
|
void |
TreeGridPlugin.onHeaderAdded(DataTable<T> dataTable,
ColumnConfig<T> column)
Adds the Expand all/collpase all to the plugins utility column header This method will be called right after adding a column header element to the table
|
void |
RecordDetailsPlugin.onHeaderAdded(DataTable<T> dataTable,
ColumnConfig<T> column) |
void |
RecordDetailsPlugin.setupColumn(ColumnConfig<T> column)
A hook method to customize the column of the expand/collapse icons
|
void |
SortPlugin.sort(SortDirection direction,
ColumnConfig<T> column)
manually sort the table by the specified column and fires the
SortEvent |
| Modifier and Type | Method and Description |
|---|---|
void |
EnumHeaderFilter.init(SearchContext<T> searchContext,
ColumnConfig<T> columnConfig)
Initializes the header filter with the data table search context and the column config to
which the filter is being added
|
void |
SelectHeaderFilter.init(SearchContext<T> searchContext,
ColumnConfig<T> columnConfig)
Initializes the header filter with the data table search context and the column config to
which the filter is being added
|
void |
TimeHeaderFilter.init(SearchContext<T> searchContext,
ColumnConfig<T> columnConfig)
Initializes the header filter with the data table search context and the column config to
which the filter is being added
|
void |
DateHeaderFilter.init(SearchContext<T> searchContext,
ColumnConfig<T> columnConfig)
Initializes the header filter with the data table search context and the column config to
which the filter is being added
|
void |
BooleanHeaderFilter.init(SearchContext<T> searchContext,
ColumnConfig<T> columnConfig)
Initializes the header filter with the data table search context and the column config to
which the filter is being added
|
void |
DelayedHeaderFilterInput.init(SearchContext<T> searchContext,
ColumnConfig<T> columnConfig)
Initializes the header filter with the data table search context and the column config to
which the filter is being added
|
Copyright © 2019–2022 Dominokit. All rights reserved.