如何在 Telerik RadGrid 中单击一次显示两个表行
我有一个类,其中包含另外两个类,例如层次结构。当我在 Telerik RadGrid 中显示时,它应该显示如下,当我们单击第一类行时,它应该显示两行相关类,如下图所示。可以帮我做这个吗..?
I have one class which contains two more classes like hierarchy. When I'm displaying in Telerik RadGrid it should display like, when we click on first class row then it should display two rows of related classes as in below figure. Could help me to do this..?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我回答您之前的帖子时,我只是采用了我的其他答案并对其进行了修改以实现您正在寻找的内容。下面是添加一个存储爱好信息的类。然后,我添加了所需的结构和关系(不同颜色的方块表示不同的类):
注意:此处的更改很小,并且更改被注释为 //New Something// 因此它们应该很容易看到。
As I answered your previous post, I just took my other answer and modified it to do what you are looking for. The following is the addition of a class that stores hobby info. I then added the needed structure and relations (the different colored squares denote the different classes):
Note: The changes here are minimal and the changes are commented as //New something// so they should be easy to see.