SMARTGWT - SectionStackSection - 从节中删除项目可能吗? [英] SMARTGWT - SectionStackSection - deleting an Item from the Section possible?
问题描述
即时通讯使用SmartGWT 4.
我有一个SectionStack,其中包含一些SectionsStackSections。
现在我添加了一些带有TextItems,Checkboxes等的DynamicForms到a部分。
我还为每个动态表单添加了一个删除按钮
现在我想要的是,当我点击删除按钮时,DynamicForm应该从Section中删除
但是..我在SectionStackSection
中找不到任何删除函数,有一个称为removeFromParent的DynamicForms函数,但它似乎不起作用。
有人有想法吗? :-)
谢谢
只需在下面行
dynamicForm.getElement()removeFromParent();
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
Simply call below line
dynamicForm.getElement().removeFromParent();
这篇关于SMARTGWT - SectionStackSection - 从节中删除项目可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!