网格行格式 [英] Grid Row Formatting

查看:121
本文介绍了网格行格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

将文本包装在网格行中时遇到问题.我已经完成了包装 ROW CELL 数据所需的所有更改,但仍然会得到根本没有包装的行:(.如果有人可以让我知道网格的哪个属性设置以便获取包装数据,我将非常感谢那个人.



谢谢

Varun Sareen
软件开发人员

Dear Friends,

I am facing a problem while wrapping the text in grid rows. I have done all the changes that are required to wrap a ROW CELL data but still i am getting rows that are not wrapped at all :( . If any one could let me know which property of the grid to set in order to get wrapped data, I would be grateful to that person.



Thanks

Varun Sareen
Software Developer

推荐答案

使用< ItemStyle Wrap ="true"/> ...... u可以使用textarea ........... u可以使用e.Row.Cells [4] .Attributes.Add("style",您要格式化的单元格的"WORD-BREAK:BREAK-ALL")..否则,您还可以尝试动态使包装属性为真..... ........ :-D :-D :-D
use <ItemStyle Wrap="true" /> ...............u can use textarea...........u can use e.Row.Cells[4].Attributes.Add("style", "WORD-BREAK:BREAK-ALL") for the cell u want to format.................otherwise u can also try to make wrap prperty true dynamically............. :-D :-D :-D


这篇关于网格行格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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