jquery easyui 合并单元格不了(colspan:2无效)

<table   class="easyui-datagrid"   toolbar="#td"
                     data-options="collapsible:true,singleSelect:true,pagination:true,rownumbers:true,fit:true">
                <thead>
                <tr>
                    <th  data-options="width:150,field:'qq'">工号</th>
                    <th  data-options="width:170,field:'ww'">姓名</th>
                    <th  data-options="width:170,field:'ee'">邮箱</th>
                    <th data-options="width:170,field:'rr'">电话号码</th>
                    <th data-options="width:170,field:'tt'">角色</th>
                    <th data-options="colspan:2,width:150,field:'firstname'">操作</th>
                </tr>
                </thead>
                <tr>
                    <td   data-options="width:100,field:'qq'">sssss</td>
                    <td   data-options="width:100,field:'ww'">sssss</td>
                    <td  data-options="width:100,field:'ee'">sssss</td>
                    <td data-options="width:100,field:'rr'" >sssss</td>
                    <td data-options="width:100,field:'tt'">sssss</td>
                    <td data-options="width:100,field:'aa'">sssss</td>
                    <td data-options="width:100,field:'bb'">sssss</td>
                </tr>
</table>


Celia桃子迷
浏览 3668回答 2
2回答

辰hzy

搞了半天,好像只能实现成easyuiDemo里的样式。。。

大米稀饭小米粥

你在easyui,再新建一个小的Table,这样控制起来就容易多了。
打开App,查看更多内容
随时随地看视频慕课网APP