如何在 Flex 4 中设计动态变化的表格?

发布于 2024-09-16 07:00:15 字数 307 浏览 6 评论 0原文

因此,我是 Flex 4 的新手,并且一直在网上学习 Flex 一周速成课程。

我需要一些帮助来尝试构建一个具有列和行的动态增长或收缩的表。表格的单元格背景将根据 XML 文件改变颜色。

一张图片抵得上一千个字: http://drop.io/v0woo7w (密码:flex)

有时 ,看到顶部那张有绿色、蓝色和红色方块的桌子了吗?设计它的最佳方法是什么?我在想也许 AdvancedGrid 控件...这是正确的方法吗?

So, I'm new to Flex 4 and have been doing the Flex in a Week crash course online.

I need some help trying to build a dynamically growing or shrinking table with columns and rows. The cell backgrounds of the table will change color depending on an XML file.

Sometimes a picture is worth a thousand words: http://drop.io/v0woo7w (password: flex)

So, see that table at the top with green and blue and red squares? What is the best approach to designing that? I'm thinking maybe the AdvancedGrid control... is that the right way to go about it?

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

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

发布评论

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

评论(1

烛影斜 2024-09-23 07:00:15

更有可能的是,您最好的方法是推出自己的组件来做到这一点。数据网格(或者更糟糕的是 ADG)带来的包袱可能会阻碍而不是帮助。

More than likely, your best approach is to roll your own component to do this. The baggage that comes along with the Datagrid (or even worse the ADG) is likely to hinder rather than help.

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