Announcement

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

    SectionStackSection deleteItem ?

    I work with smartgwt power version 3.0

    I do this code

    Code:
    SectionStackSection userSection = new SectionStackSection(userSectionTitle);
    userSection.setItems(userDetailForm);
    userSection.setCanCollapse(true);
    userSection.setExpanded(true);
    userSection.setControls(newRequestUserButton, newButton, removeButton, saveButton);
    When I click on newRequestUserButton I want draw a new HLayout in userSection

    But when I do this :
    userSection.setItems(myHlayout);

    The userSection doesn't change.

    Should I have to delete the userDetailForm item ? With which method ?

    #2
    Is it not possible to change the SectionStackSection content ?

    Should I have to do this : http://www.java2s.com/Code/Java/GWT/...elSmartGWT.htm

    I have to redraw the SectionStackSection ?

    Or How to proced ?
    Last edited by jose.hello; 13 Feb 2012, 11:32.

    Comment

    Working...
    X