Class DataBoundBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- com.googlecode.wicket.jquery.core.JQueryAbstractBehavior
-
- com.googlecode.wicket.kendo.ui.datatable.behavior.DataBoundBehavior
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
HideIfNoRecordBehavior
public abstract class DataBoundBehavior extends com.googlecode.wicket.jquery.core.JQueryAbstractBehavior
Provides aDataTable
Behavior
that allows to register a 'dataBound' callback.
Warning: In order to work correctly, you should useDataTable#refresh
instead ofIPartialPageRequestHandler#add(datatable)
- Author:
- Sebastien Briquet - sebfz1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataBoundBehavior()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
$()
void
bind(org.apache.wicket.Component component)
protected abstract String
getDataBoundCallback()
Gets the callback/handler to be triggered on 'dataBound' eventprotected String
widget()
Gets the Kendo UI widget-
Methods inherited from class com.googlecode.wicket.jquery.core.JQueryAbstractBehavior
add, getJQueryLibrarySettings, renderHead, renderOnDomReadyScript, renderPriorityHeaderItem, toString
-
-
-
-
Method Detail
-
bind
public void bind(org.apache.wicket.Component component)
- Overrides:
bind
in classorg.apache.wicket.behavior.Behavior
-
widget
protected String widget()
Gets the Kendo UI widget- Returns:
- the Kendo UI widget
-
$
protected String $()
- Specified by:
$
in classcom.googlecode.wicket.jquery.core.JQueryAbstractBehavior
-
getDataBoundCallback
protected abstract String getDataBoundCallback()
Gets the callback/handler to be triggered on 'dataBound' event- Returns:
- statement like function(e) {...}
-
-