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 c
Hi Martin.
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.
Manfred
Martin Grigorov-4 wrote
> Hi Manfred,
>
> The #refresh(PartialPageUpdateHandler) methods are useful if you update
> the
> specific
Hi Manfred,
The #refresh(PartialPageUpdateHandler) methods are useful if you update the
specific component.
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()).
You can
Hi Sebastian.
Thanks for the additional explanation.
But I'm not fully sure for how this is supposed to work in my case given
this structure/hierarchy:
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 some