GridView 换行设置
2010-03-26 17:03
274 查看
this.GridView1.Attributes.Add("style", "word-break:keep-all;word-wrap:normal"); //一般换行
this.GridView1.Attributes.Add("style", "word-break:break-all;word-wrap:break-word"); //强制换行
this.GridView1.Attributes.Add("style", "word-break:break-all;word-wrap:break-word"); //强制换行
相关文章推荐
- 后台设置gridview不换行
- 设置Gridview单元格内容不换行
- 怎么设置GridView的单元格在内容显示超过长度的时候用省略号代替而不是换行当鼠标移上去的时候将影藏的内容提示出来
- gridview 中gridline的 颜色设置及表头换行
- 解决gridview禁止换行设置无效的问题
- 设置gridview里面item的高度
- Textview 设置字时,如果字数很多让text 自动换行
- gridview自动换行
- gridview设置行号与RowCommand事件中获取行号
- DevExpress GridControl复合表头(多行表头)设置BandedGridView
- div设置float后下一个div要换行的解决办法
- C#中,设置字体,自动换行,保存文件对话框代码
- 设置TD中输入字符换行样式
- <div>设置宽度,汉字正常换行,输入字母/数字不换行的解决方案分析
- PhpStorm代码换行设置
- Gridview中当设置自动生成列时对列中字段使用 html代码显示
- android实现界面左右滑动(GridView动态设置item,支持每个item按某个属性排序来显示在不同的界面)
- GridView 把某一列设置为在编辑状态时是 DropDownList 下拉选项
- 可自动换行的RadioGroupEx,支持RadioButton设置margin
- Gridview中设置数据行的背景颜色