如何在 GWT CellTable 中隐藏列标题?
我真的打算使用 CellList,但问题是我想要显示一个删除项目,这样当单击该项目时,该项目就会消失。这似乎有它自己的问题,所以我使用了 CellTable,但我不希望显示标题。
I really was going to go with a CellList, but the problem is I want a delete item displayed so when it is clicked that item goes away. That seems to have its own problem, so I went with a CellTable, but I don't want the headers to display.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在那里找到答案:
http://groups .google.com/group/google-web-toolkit/browse_thread/thread/fcd4ad18e2435aba
基本上,当您将列添加到表中时:
使用
table.addColumn(Column column);
而不是
table.addColumn(Column column, String header);
You can find you answer there:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/fcd4ad18e2435aba
Basically, when you add the columns to the table:
use
table.addColumn(Column column);
instead of
table.addColumn(Column column, String header);