Hi
The Kendo UI DataTable is not yet fully implemented...
I will add a #refresh() method, but for now on, you can use this one (I did not tested it):
@Override
public void onClick(AjaxRequestTarget target, ColumnButton button, String value) {
/* ... */
this.refresh(target);
}
/**
* Will be added into wicket-kendo-ui.
* You will have an error in the next release (cannot reduce visibility) so you will be able to remove this method.
*/
private void refresh(AjaxRequestTarget target) {
target.appendJavaScript(String.format("var grid = $('%s').data('kendoGrid'); grid.refresh();", JQueryWidget.getSelector(this)));
}
Best regards,
Sebastien.