需要一种spreedsheet网格来显示数据,但是哪些以及如何显示数据 [英] Need kind of a spreedsheet grid to display data but which and how

查看:79
本文介绍了需要一种spreedsheet网格来显示数据,但是哪些以及如何显示数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hallo erverone



我需要展示一种体育运动的训练计划。这不是问题。但是应该可以报告每次培训课程的培训结果。而这些不必处于一个时期。因此,对于网格而言,这意味着每次训练会话结束时我都必须添加一个新列,因为我正在使用WPF和Bindings,我不喜欢影响这个过程。有没有办法将网格更改为垂直显示模式或者你将如何处理它。



我知道它可能有点难以理解,因为它也很难解释^^但图像应该解释我想怎么做。该类别并不重要。我可以使用分组功能处理它。



图片



感谢您的帮助。

解决方案

请参阅我的评论问题并考虑使用 System.Windows.Controls.DataGrid

http://msdn.microsoft.com/en-us/library/system.windows.controls.datagrid.aspx [ ^ ]。



您可以将此CodeProject文章用作有用的教程: WPF DataGrid实际示例 [ ^ ]。



-SA


Hallo erverone

I need to display kind of a trainingsplan for athletic sports. This isn't the problem. But it should be possible to report the results of the training for each training session. And these don't have to be in a period. So for a grid this would mean I have to add a new Column each time a training session was finished and since I'm working with WPF and Bindings I don't like to affect this process. Is there a way to change the grid to vertical display mode or how would you handle this.

I know it's maybe a little hard to understand since it's also hard to explain^^ but the image should explain how i would like to do it. The category isn't that important. I could handle that with the grouping function.

Image

Thanks for every help.

解决方案

Please see my comment to the question and consider using System.Windows.Controls.DataGrid:
http://msdn.microsoft.com/en-us/library/system.windows.controls.datagrid.aspx[^].

You can use this CodeProject article as a useful tutorial: WPF DataGrid Practical Examples[^].

—SA


这篇关于需要一种spreedsheet网格来显示数据,但是哪些以及如何显示数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆