Delphi Prism 的 TStringGrid 替代方案
由于我开始在 Delphi Prism 下进行开发,我注意到它没有任何类似于您通常在 Delphi 7 及更低版本中看到的 TStringGrid 工具的网格工具。尽管 Delphi Prism 有一个 DataGridView,但它并不容易满足我的目的。事实上,每次我尝试在软件中设置它并使其按照我们希望的方式工作时,它根本不起作用。据我了解,DataGridView确实需要一个数据库源来显示数据。
所以,我想知道 Delphi Prism 是否有 Delphi TStringGrid 的替代品。
Since I am starting to develop under Delphi Prism, I noticed it doesn't have any grid tool similar to TStringGrid tool that you normally see in Delphi 7 and below. Although Delphi Prism has a DataGridView, it doesn't easily lend itself for my purpose. In fact, every time I try to set it up and make it work the way we want it to in our software it simply doesn't work at all. From what I understand DataGridView really wants a database source to display data.
So, I would like to know if there are any alternatives to Delphi TStringGrid for Delphi Prism.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
DataGridView
可以在绑定和非绑定状态下工作模式,因此您可以像 TStringGrid 一样使用 DataGridView 控件来显示数据,而无需绑定到数据源。查看此链接创建未绑定的 Windows 窗体 DataGridView 控件。The
DataGridView
can work in bound and unbound modes, so you can use th DataGridView control like a TStringGrid for display data without binding to a data source. check some this link Creating an Unbound Windows Forms DataGridView Control.