extjs4 Grid自动换行
来源:互联网 发布:深蹲对男人的好处 知乎 编辑:程序博客网 时间:2024/06/05 21:14
var temp=Ext.create('Ext.grid.Panel', {
title: title.substring(0,10),
iconCls: 'icon-grid-list',
id:id,
forceFit: true,
region : 'center',
store: repStore,
columnLines:true,
closable:true,
columns: [{dataIndex:'usernam',text:'姓名',align:'center'},{dataIndex:'itemtypename',text:'类型',align:'center'},
{dataIndex:'itemcontent',text:'内容',width:500,renderer: function(value, meta, record) {
meta.style = 'overflow:auto;padding: 3px 6px;text-overflow: ellipsis;white-space: nowrap;white-space:normal;line-height:20px;';
return value;
}},{dataIndex:'itemstaname',text:'状态',align:'center'}]
title: title.substring(0,10),
iconCls: 'icon-grid-list',
id:id,
forceFit: true,
region : 'center',
store: repStore,
columnLines:true,
closable:true,
columns: [{dataIndex:'usernam',text:'姓名',align:'center'},{dataIndex:'itemtypename',text:'类型',align:'center'},
{dataIndex:'itemcontent',text:'内容',width:500,renderer: function(value, meta, record) {
meta.style = 'overflow:auto;padding: 3px 6px;text-overflow: ellipsis;white-space: nowrap;white-space:normal;line-height:20px;';
return value;
}},{dataIndex:'itemstaname',text:'状态',align:'center'}]
});
0 0
- extjs4 Grid自动换行
- extjs4 grid 列根据内容长度自动换行
- Extjs Grid自动换行
- ligerUi Grid 自动换行
- grid列自动换行
- grid单元格内自动换行
- Extjs4 grid根据model自动生成列
- ExtJS4.1 desktop桌面图标自动换行
- ExtJS4.1 desktop桌面图标自动换行
- ExtJS4.0及其后版本 grid column的header 换行
- ExtJS4.0及其后版本 grid column的header 换行
- VFP中Grid表格自动换行
- Grid++ Reprot报表自动换行设置
- grid行中单元格文本自动处理换行
- ExtJS4 Grid组件
- extjs4 动态grid
- extjs4.1 grid panel
- Extjs4 Grid 使用总结
- 是 String , StringBuffer 还是 StringBuilder ?
- GPS RTK在海洋测深中的应用(无验潮模式)
- 如何定义让两个DIV横向排列
- JAVA在编译过程
- 报名
- extjs4 Grid自动换行
- linux 下的tcp/ip编程头文件的使用具体分析
- 【Unix编程艺术】第1章 哲学
- java中的类!
- linux压缩和解压缩命令大全
- hbase shell写错,回退功能设置
- opengl中GL_MODELVIEW下的变换矩阵的说明
- 选择 插入 快速 冒泡排序算法的比较
- Java面向对象——正则表达式