如何在 GWT CellTable 中隐藏列标题?

发布于 2024-12-22 10:37:31 字数 96 浏览 2 评论 0原文

我真的打算使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

李不 2024-12-29 10:37:31

您可以在那里找到答案:
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);

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文