【问题标题】:SMARTGWT - SectionStackSection - deleting an Item from the Section possible?SMARTGWT - SectionStackSection - 可以从部分中删除项目吗?
【发布时间】:2014-04-28 03:09:36
【问题描述】:

我正在使用 SmartGWT 4。 我有一个 SectionStack,里面有一些 SectionsStackSections。 现在我在 a 部分添加了一些带有 TextItems、Checkboxes 等的 DynamicForms。 我还为每个动态表单添加了一个删除按钮 我现在想要的是,当我单击删除按钮时,应该删除 DynamicForm 从部分

但是.. 我在 SectionStackSection 中找不到任何删除功能 DynamicForms 有一个名为“removeFromParent”的函数,但它似乎不起作用..

有人有什么想法吗? :-) 谢谢你

【问题讨论】:

标签: java gwt web smartgwt


【解决方案1】:

直接在下面调用

dynamicForm.getElement().removeFromParent();

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-02-12
    • 1970-01-01
    • 2014-11-21
    • 1970-01-01
    • 2022-10-25
    • 2020-01-04
    • 2018-03-27
    相关资源
    最近更新 更多