【发布时间】:2013-03-21 09:40:06
【问题描述】:
我想在 GWT
的 TH> 中附加 divElement tr = DOM.createTR();
DOM.appendChild(thead, tr);
for (int index = 0; index < headers.size(); index++) {
Element th = DOM.createTH();
Element div = DOM.createDiv();
DOM.appendChild(th, div); // this is not working !
DOM.appendChild(tr, th);
}
我的代码有什么问题吗?
【问题讨论】:
-
您是如何创建广告的?什么不工作?给出编译时错误?运行时错误?
-
使用thead = DOM.createElement("thead");我创建了标题...
-
我想要
-
在编译时间或运行时间之后,我没有看到任何错误
标签: java javascript gwt