public abstract class AjaxPropertyColumn extends PropertyColumn
DataTable which content will be ajax/lazy loaded.| Modifier and Type | Class and Description |
|---|---|
protected class |
AjaxPropertyColumn.AjaxTemplateBehavior |
| Constructor and Description |
|---|
AjaxPropertyColumn(org.apache.wicket.model.IModel<String> title,
String property,
DataTable<?> datatable)
Constructor
|
AjaxPropertyColumn(org.apache.wicket.model.IModel<String> title,
String property,
int width,
DataTable<?> datatable)
Constructor
|
AjaxPropertyColumn(String title,
DataTable<?> datatable)
Constructor
|
AjaxPropertyColumn(String title,
int width,
DataTable<?> datatable)
Constructor
|
AjaxPropertyColumn(String title,
String property,
DataTable<?> datatable)
Constructor
|
AjaxPropertyColumn(String title,
String property,
int width,
DataTable<?> datatable)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.wicket.Component |
getLazyComponent(String id,
String value)
Gets the
Component that will be lazy loaded |
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(?) |
Boolean |
isEditable()
Indicates whether the model field and the column is editable
|
getField, getValue, newDataModelgetAggregates, getAggregatesAsString, getAttributes, getEditor, getFilterable, getFooterTemplate, getFormat, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getMinScreenWidth, getTitle, getType, getWidth, isEncoded, isNullable, isPopupVisible, isVisible, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAggregates, getAttributes, getEditor, getFilterable, getFooterTemplate, getFormat, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getMinScreenWidth, getTitle, getType, getWidth, isEncoded, isNullablepublic AjaxPropertyColumn(String title, DataTable<?> datatable)
title - the text of the column headerdatatable - the holding DataTablepublic AjaxPropertyColumn(String title, String property, DataTable<?> datatable)
title - the text of the column headerproperty - the object property namedatatable - the holding DataTablepublic AjaxPropertyColumn(String title, int width, DataTable<?> datatable)
title - the text of the column headerwidth - the desired width of the columndatatable - the holding DataTablepublic AjaxPropertyColumn(String title, String property, int width, DataTable<?> datatable)
title - the text of the column headerproperty - the object property namewidth - the desired width of the columndatatable - the holding DataTablepublic AjaxPropertyColumn(org.apache.wicket.model.IModel<String> title, String property, DataTable<?> datatable)
title - the text of the column headerproperty - the object property namedatatable - the holding DataTablepublic AjaxPropertyColumn(org.apache.wicket.model.IModel<String> title, String property, int width, DataTable<?> datatable)
title - the text of the column headerproperty - the object property namewidth - the desired width of the columndatatable - the holding DataTablepublic final Boolean isEditable()
IColumnisEditable in interface IColumnisEditable in class AbstractColumnnull by default, meaning not specifiedpublic final String getTemplate()
IColumnreturn "<a href='?id=#:data.id#'>#:data.id#</a>"getTemplate in interface IColumngetTemplate in class AbstractColumnnull if it does not applyCopyright © 2021 7thWeb. All rights reserved.