我希望在 Flex 中实现一些我相信我以前见过的东西,但我不知道它叫什么,以便搜索它。也许最好用一个例子来描述......
假设我有一个联系人管理应用程序。我有一群人,每个人都有一堆我可能想也可能不想快速浏览的数据。我的解决方案是有两个并排的网格。左侧只有几列,其中包含直接文本信息,例如“Bob Jones”、“555-555-5555”、“[电子邮件受保护]”。大多数时候,当您使用应用程序时,这就是您要查找的信息。右侧的网格将是左侧网格的一部分的“缩放”视图。因此,左侧可能有 20 行可见,而右侧可能有 5 行可见。在右侧网格上,您可能有图片、地址、工作信息等,导致一行太高,无法放入左侧。
我能想到的最接近的例子是这个时间线,但是变成了向右90度。
有谁知道我在哪里可以找到有助于实现此目标的现有控件或教程?提前致谢!
I'm looking to implement something in Flex that I believe I've seen before, but I have no idea what it's called in order to search for it. Maybe it's best described with an example...
Say I have a contact management application. I have a bunch of people, and each person has a bunch of data that I may or may not want to see at a quick glance. My solution would be to have two side by side grids. The left side would have only a couple of columns with straight text information, like "Bob Jones", "555-555-5555", "[email protected]". Most of the time, when you're in the application, this would be the information you're looking for. The grid on the right side would be a "zoomed" view of a section of the left grid. So where the left side may have 20 rows visible, the right would have 5 rows visible. On the right grid you might have a picture, address, work info, etc that makes for a row that is too tall to fit in the left.
The closest example of this I can think of is this timeline, but turned 90 degrees to the right.
Does anyone know where I can find an existing control or tutorial that would help accomplish this? Thanks in advance!
发布评论
评论(1)
在您的示例中,右侧网格是显示一行还是多行的数据?听起来您只需将右侧网格绑定到左侧网格的 selectedItem 属性即可。然后,当用户选择一个项目时,将显示有关该项目的更详细信息。
In your example is the right-hand grid displaying data for one row or multiple rows? It sounds like you just need to bind the right-hand grid to the left-hand grid's selectedItem property. Then when the user selects an item more detailed information will be displayed about it.