Thank you guys.
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
Alternatively, you can have a look at KendoDestroyListener, Initializer,
and classes implementing IDestroyable in Wicket jQuery UI...
Thanks and best regards,
See org.apache.wicket.protocol.http.AjaxEnclosureListener for inspiration.
You'll need to do something similar - check whether any of the components
in the passed Map is a parent of a Grid or Chart and destroy it so it
cleans the DOM.
On Tue, Sep 10, 2019 at 6:15 PM Manfred Bergmann
OK, maybe it's better to follow up on this while it hot.
I'm not entirely certain what to do and where.
I'd assume that when a user clicks elsewhere, which raises an
AjaxRequestTarget I'll have to add a functionality to destroy the chart/grid
as part of the AjaxRequestTarget.
But since the click
OK, thanks. That looks like a doable solution.
I'd go for the Listener but I'll probably have to ask some more when I'm
going to implement it.
Martin Grigorov-4 wrote
> Hi Manfred,
> The #refresh(PartialPageUpdateHandler) methods are useful if you update
The #refresh(PartialPageUpdateHandler) methods are useful if you update the
They do not help if you repaint a parent of such a component.
In your case you will need to destroy the component (grid, chart) in your
action callback (e.g. onUpdate(), onClick()).
Thanks for the additional explanation.
But I'm not fully sure for how this is supposed to work in my case given
page -> panel(a) -> panel(b) -> grid/chart
Where panel (a) is replaced. Any instance of panel (b) can have a grid/chart
but it can also host
Sorry, my previous answer was incomplete.
Kendo components do usually have two methods for ajax, #reload and #refresh.
Reload aims to reload the component (ie reattach to the dom) while refresh
aim to refresh the data only.
IIRC, grid and chart are different in the sense that grid
OK, but I don't really see how reusing instances of a Kendo Grid really
works in a component based design where the parents of where the Grids are
placed are replaced on the page.
In particular we have a three panes border layout, kind of a 'master-detail'
plus a tree on the left
The recommended way to refresh kendo ui components - those bound to a
datasource - is to read from the datasource.
See Chart#refresh, it should solve the problem.
Thanks and best regards,
Mail list logo