GridControl_gridView 单元格内容换行(wrap)
2014-10-21 15:54
190 查看
GridControl_gridView 单元格内容换行(wrap):
通过设置列的ColumnEidt属性,使其换行。
RepositoryItemMemoEdit repoMemo = new RepositoryItemMemoEdit();
repoMemo.WordWrap = true;
repoMemo.AutoHeight = true;
this.gridControl1.RepositoryItems.Add(repoMemo);
this.gridControl1.gridView1.Columns[0].ColumnEdit=repoMemo
this.gridControl1.gridView1.OptionsView.RowAutoHeight = true;
通过设置列的ColumnEidt属性,使其换行。
RepositoryItemMemoEdit repoMemo = new RepositoryItemMemoEdit();
repoMemo.WordWrap = true;
repoMemo.AutoHeight = true;
this.gridControl1.RepositoryItems.Add(repoMemo);
this.gridControl1.gridView1.Columns[0].ColumnEdit=repoMemo
this.gridControl1.gridView1.OptionsView.RowAutoHeight = true;
相关文章推荐
- 怎么设置GridView的单元格在内容显示超过长度的时候用省略号代替而不是换行当鼠标移上去的时候将影藏的内容提示出来
- 设置Gridview单元格内容不换行
- 转载:table单元格内容自动换行
- EXT Grid单元格中的内容超长时自动换行显示(笔记3)
- XAF 如何从Excel复制多个单元格内容到GridView
- table 中,如何使得单元格的内容不换行,单元格不被撑开
- ASP.NET GridView中文本内容无法换行(自动换行/正常换行)
- GridView中的内容过长时自动换行
- GridView、listView的高度为Wrap_content,高度包裹内容使用Integer.MAX_VALUE >> 2的原因
- 如何更改gridview中任意单元格颜色或者内容。
- ASP.NET GridView中文本内容无法换行(自动换行/正常换行)
- asp.net GridView内容换行
- table td 内容太长自动换行的实例(word-wrap和word-break的差异)
- LaTex表格内单元格内容强制换行
- LaTex表格内单元格内容强制换行
- yii gridview columns value 内容如何换行 & 链接
- 用word-wrap来解决固定大小ul下的每条li中内容太多时不自动换行问题
- 使GridView内容不换行
- GridView单元格换行
- GridView、DateTable数据行 内容自适应 不换行