求解ASPxGridView中太长的数据怎么设置换行???
初次使用ASPxGridView,有些数据很长,ASPxGridView中默认的是换行全部显示,但很难看,怎么设置成全部显示或者是只显示一部分???(我的字段是后台绑定的)
[解决办法]
我都是在 aspx 中加 css 制些 tag 不行。
- C# code
<style type="text/css"> th, td, a { white-space: nowrap; }</style>
[解决办法]
按长度截取 要显示的字段个数