public interface IColumn
extends org.apache.wicket.util.io.IClusterable
DataTable| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAggregates()
The aggregate(s) which are calculated when the grid is grouped by the columns field.
|
String |
getAttributes()
HTML attributes of the table cell rendered for the column.
|
IKendoEditor |
getEditor()
Provides a way to specify a custom editing UI for the column.
|
String |
getField()
Get the field in the data set that this column should be bound to.
|
String |
getFilterable()
If set to true a filter menu will be displayed for this column when filtering is enabled.
If set to false the filter menu will not be displayed. By default a filter menu is displayed for all columns when filtering is enabled via the filterable option. |
String |
getFooterTemplate()
The template which renders the footer table cell for the column.
|
String |
getFormat()
The format that is applied to the value before it is displayed.
|
String |
getGroupFooterTemplate()
The template which renders the group footer when the grid is grouped by the column field.
|
String |
getGroupHeaderTemplate()
The template which renders the group header when the grid is grouped by the column field.
|
String |
getMenu()
If set to true the column will be visible in the grid column menu.
|
int |
getMinScreenWidth()
The pixel screen width below which the column will be hidden.
The setting takes precedence over the hidden setting, so the two should not be used at the same time. |
String |
getTemplate()
The template which renders the column content.
ie: return "<a href='?id=#:data.id#'>#:data.id#</a>"TODO: make it work for function(?) |
String |
getTitle()
Gets the text of the column header
|
String |
getType()
Get the field's type
Available options are "string", "number", "boolean", "date". |
int |
getWidth()
Gets the desired width of the column.
|
Boolean |
isEditable()
Indicates whether the column is editable
|
Boolean |
isNullable()
Indicates whether the column is nullable
|
String getTitle()
String getField()
int getWidth()
int getMinScreenWidth()
IKendoEditor getEditor()
function or null if it does not applyString getFormat()
null if it does not applyString getTemplate()
return "<a href='?id=#:data.id#'>#:data.id#</a>"null if it does not applyString getAttributes()
String getFooterTemplate()
null if it does not applyString getFilterable()
filterable object; ie: true or { extra: false }String getMenu()
menu object; ie: false or { extra: false }List<String> getAggregates()
String getGroupHeaderTemplate()
String getGroupFooterTemplate()
Boolean isEditable()
null by default, meaning not specifiedBoolean isNullable()
null by default, meaning not specifiedString getType()
Copyright © 2017 7thWeb. All rights reserved.