使用 Ext Grid 行 的 高度 希望  每一行 数据高度 能够再大一些..  不知道 怎么设置谁会吗?

解决方案 »

  1.   

    看源代码中的示例,很详细的。D:\ext-2.3.0\ext-2.3.0\examples\grid
      

  2.   

    页面中加样式
     .x-grid3-row{
        height:100px;
    }
      

  3.   


    Ext.create('Ext.grid.Panel', {
        title: 'Simpsons',
        store: Ext.data.StoreManager.lookup('simpsonsStore'),
        columns: [
            {header: 'Name',  dataIndex: 'name'},
            {header: 'Email', dataIndex: 'email', flex:1},
            {header: 'Phone', dataIndex: 'phone'}
        ],
        height: 200,  //grid高度
        width: 400,
        renderTo: Ext.getBody()
    });
      

  4.   

    <property name="HzSettingEvaluntionInfo_evaldate"
    table="HzSettingEvaluntionInfo" showname="评价日期" dataname="evaldate"
    isshow="false" issearch="1" width="200" type="date" relatable=""
    relafield="" searchfield="" relavalue="evaldate"  decimalinfo="" />
    我这个是在mapping文件里面改的