[英]How to display data in grid without wrapping the data?
I have a grid control which is bound to a DataTable
. 我有一个绑定到DataTable
的网格控件。 I'm facing a problem in the display of data. 我在显示数据时遇到问题。 Though each line in DataColumn
of grid having enough space yet the data is being wrapped to next subsequent lines. 尽管网格的DataColumn
的每一行都有足够的空间,但是数据仍被包装到下一行。 But I need the data to be displayed without wrapping. 但是我需要不包装就显示数据。 Is it possible? 可能吗?
在您不希望包装数据的每个字段中使用此命令。
ItemStyle-Wrap="false"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.