ITeye博客

ext

共 1 篇文章

Ext.grid.ColumnModel

[code="js"]Ext.grid.ColumnModel([{ id: 列的唯一标识,可以用于定义css,如:(.x-grid-td-topic b { color:#333 }) header: 列的名称 dataIndex: 在store中本列值的索引 sortable: 设置本列是否支持排序 renderer: 列值的渲染函数,定义函数如:function renderName(value, cellmeta, record, rowIndex, columnIndex, store){} width : 列宽 hidden:true 是否隐藏本列 }]); function r…

2010-11-11 16:41 · ext · CSS · EXT