Apache Wicket Reset View from Model

104 Views Asked by At

I want to reset the filter settings on a datagrid through an onClickEvent. Is it possible to clear the filters without having to resort to javascript?

I currently set the filter in the underlying dataprovider to null and then set the responsePage to the current page:

setResponsePage(getPage());

While this refreshes the datagrid itself without filters, the values in the filter textboxes are still present. The filters are in a topToolBar which is attached to the datagrid component.

0

There are 0 best solutions below