On Wednesday, November 8, 2017 at 2:37:07 PM UTC+1, Paul Topley wrote:
>
> Hi,
>
> This should be a fairly straight forward question. Ive been relentlessly
> googling trying to find an answer to this but surprisingly I have found
> nothing.
>
> I add a widget to a LayoutPanel, which is subsequently rendered and
> attached to the DOM. How do I take the same widget and update its contents
> and have those changes applied to the DOM?
>
Widgets in GWT aren't "rendered", the *are* DOM elements (wrapped into
widget classes); so effects are generally directly visible ("cell widgets"
are different, and will generally defer DOM updates to the end of the event
loop; but still).
What kind of widget are you dealing with? What are you doing with it? How
are you adding it to the LayoutPanel? (and how are you "rendering and
attaching it to the DOM"?) In other words; can you show some code?
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.