在网格视图中插入拆分器(或扩展器)

发布于 2024-10-07 12:22:46 字数 216 浏览 0 评论 0原文

我在页面中使用 Silverlight 4 的 gridview,并且希望有可折叠的列(以隐藏一些很少需要的信息)。我查看了 DataGridTemplateColumn 但它似乎不允许我这样做。谷歌搜索这个问题也没有帮助我。 (我发现的唯一信息是设置代码中列的可见性和/或宽度,但这并不能解决我插入拆分器/扩展器的问题)。

有办法做到这一点吗?

提前致谢 !

I'm using Silverlight 4's gridview in my page, and I would like to have collapsible columns (to hide some rarely needed information). I had a look to DataGridTemplateColumn but it doesn't seem to allow me to do that. Googleing on this problem didn't help me either. (the only information I found is to set the visibility and/or the width of the columns in the code, but thatdoesn't solve my problem of inserting the splitter/expander).

Is there a way to do that ?

Thanks in advance !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

灯下孤影 2024-10-14 12:22:46

您看过silverlight 工具包了吗?他们在在线演示中有一个很好的扩展器,可以做你正在寻找的事情。

Haver you had a look at the silverlight toolkit yet? They have a nice expander in the online demo that may do what you're looking for.

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