问题
im using SmartGWT 4. I have an SectionStack with some SectionsStackSections in it. Now i added some DynamicForms with TextItems, Checkboxes etc. to the a Section. I also added an delete button for each Dynamic Form What I want now is, when i click on the delete button the DynamicForm should be deleted from the Section
but.. I can't find any delete function in a SectionStackSection there is a Function for the DynamicForms called "removeFromParent" but it doesn't seem to work..
Does anyone got some ideas? :-) thank you
回答1:
Simply call below line
dynamicForm.getElement().removeFromParent();
来源:https://stackoverflow.com/questions/22896848/smartgwt-sectionstacksection-deleting-an-item-from-the-section-possible