簡體   English   中英

在現有DIV中動態創建FormPanel

[英]Dynamically create FormPanel inside existing DIV

有沒有辦法動態創建GWT FormPanel並將其放置在可以通過getElementById ()的現有html 《div id=myContainer"》中?

FormPanel form = new FormPanel();
RootPanel.get("myContainer").add(form);

(我懷疑還有其他事情阻止您執行此操作,但是您在問題中沒有對此說任何話)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM