解决方案 »

  1.   

    你的table 的height设置多少,设置小点看看
      

  2.   

    <div class="easyui-panel" fit="true" style="width: 150px; height: 250px">
        <table id="MPSNewList" class="easyui-treegrid" data-options="
                    method: 'get',
                    url:'/MyProject/PLSTreeGrid?id=@ViewData["plsId"]',
                    rownumbers: true,
                    fitColumns: true,
                    fit:'true',
                    animate:true,
                    idField: 'id',
                    treeField: 'name',
                    " style="width: 520px; height: 200px;">
            <thead>
                <tr>
                    <th data-options="field:'name',width:120,align:'left'">
                        名称
                    </th>
                    <th data-options="field:'code',width:80,align:'center'">
                        编码
                    </th>
                    <th data-options="field:'workflow',width:50,align:'center'">
                        工作流
                    </th>
                    <th data-options="field:'mount',width:50,align:'center'">
                        进度
                    </th>
                    <th data-options="field:'id',width:80,align:'center',formatter:formatLink1">
                        动作
                    </th>
                </tr>
            </thead>
        </table>
    </div>果然只要不把height设为aotu;就解决了~~版主神回复也~
      

  3.   

    <div class="easyui-panel" fit="true" style="width: 150px; height: 250px">
        <table id="MPSNewList" class="easyui-treegrid" data-options="
                    method: 'get',
                    url:'/MyProject/PLSTreeGrid?id=@ViewData["plsId"]',
                    rownumbers: true,
                    fitColumns: true,
                    fit:'true',
                    animate:true,
                    idField: 'id',
                    treeField: 'name',
                    " style="width: 520px; height: 200px;">
            <thead>
                <tr>
                    <th data-options="field:'name',width:120,align:'left'">
                        名称
                    </th>
                    <th data-options="field:'code',width:80,align:'center'">
                        编码
                    </th>
                    <th data-options="field:'workflow',width:50,align:'center'">
                        工作流
                    </th>
                    <th data-options="field:'mount',width:50,align:'center'">
                        进度
                    </th>
                    <th data-options="field:'id',width:80,align:'center',formatter:formatLink1">
                        动作
                    </th>
                </tr>
            </thead>
        </table>
    </div>果然只要不把height设为aotu;就解决了~~版主神回复也~