On Dec 14, 11:08 pm, Dennis Madsen <[email protected]> wrote:
> Thanks for your reply!
> I cannot find a way to implement what do write. I'm doing something
> like:
>
> HTML widget = new HTML("<div class='entry'>myDiv</div>");
> RootPanel.get("entries").getElement().insertFirst(widget);
>
> But the insertFirst takes a node instead of a HTML widget. Any
> suggestions?
>
I haven't tried this yet, but from the API perhaps you could do:
Rootpanel.get("entries").insert(mylabel, i);
where i is an (int) index.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.