Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to remove GWT widget from layout ?

    I am using GWT.FlowPanel in the VLayout.
    I add the GWT.FlowPanel into the VLayout by addMember(com.google.gwt.user.client.ui.Widget widget).
    It works well.
    I want to remove it.
    But there is no removeMember(com.google.gwt.user.client.ui.Widget widget).

    Can I get any way to remove GWT.FlowPanel from the VLayout ?

    #2
    Instead of calling addMember(com.google.gwt.user.client.ui.Widget) try

    WidgetCanvas widget = new WidgetCanvas(gwtWidget);
    addMember(widget);
    ...
    ...
    removeMember(widget);

    Comment


      #3
      Thanks ! I could it !

      Comment

      Working...
      X