Announcement

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

    SectionStack removeSections ...

    I dont find a method to remove all the SectionStackSection which were added to SectionStack, like section.removeSections (section.getSections )

    Also, Once I get a Array of SectionStackSection and when I iteration over that and when try to use section.removeSection (i), its giving me wierd javascript exception, I have to use section.HideSection(i)

    for(int ii = 0; ii < section.getSections().length; ii++){
    section.hideSection(ii);
    //section.removeSection(ii);

    }

    #2
    You can remove as follows:
    Code:
    while (section.getSections().length > 0) section.removeSection(0);

    Comment

    Working...
    X