Delphi DBTree组件
我正在寻找一个非常通用的 TDBTree 组件,并且我想听听一些建议。我正在特别寻找一个能够显示主记录和“n”条链接表记录的记录。 (我的意思是来自各个表的记录)。例如,TDBTree 将挂钩到主表、详细表 1、附加表等。
Master Table Record
Detail Table 1 Record
Detail Table 1 Record
Detail Table 1 Record
Additional Table Record
Additional Table Record
我不确定这是否可能。这就是我询问的原因。感谢您提供的任何建议。
例子是
Master Checks
Check Details
Account Record
Bank Record
I am seeking a TDBTree component that is very versatile, and i would like to hear some recommendations. I am specifically seeking one that would show a master record and "n" number of Linked table records. (I mean records from various tables). For example, the TDBTree would be hook to master table, and Detail table 1, Additional table, etc.
Master Table Record
Detail Table 1 Record
Detail Table 1 Record
Detail Table 1 Record
Additional Table Record
Additional Table Record
I am not sure if this is possible or not. This is why i am inquiring. Thanks for any recommendations you may be able to provide.
And example would be
Master Checks
Check Details
Account Record
Bank Record
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 Developer Express 控件。他们有类似您正在寻找的东西。它们都有一个可以“在线”显示详细信息的网格,以及一些具有许多功能的数据库感知树 - 恕我直言,如果您要显示的那种“主从网格”比任何树都好,那么您将每个细节都显示不同的数据。
Look at Developer Express controls. They have something alike what you're looking for. They have both a grid that can show details "in line", and some db-aware trees with many capabilities - IMHO if you're displaying that kind of that their Master-Detail grid is better than any tree, you're going to show different data in each detail.
我知道这不是数据库意识,但如果您愿意接受替代方案,那么 VirtualStringTree 是一个非常好的选择。我使用这个树组件向用户显示大部分数据库数据 - 它为任何数据提供了非常灵活且快速的树/网格。在它为您提供的许多事件中,处理数据库更新非常容易。
I know this isnt DB aware, but if your open to alternatives then VirtualStringTree is a very good option. I use this tree component displaying most of my DB data to the user - it offers a very flexible and speedy tree/grid for any data. It is very easy to handle DB updating in the many events it provides for you.