看标题有点绕,好吧,那就先上结果图
这就是最终的结果图,那我们一步一步来
先实现绑定数据
HTLM
<table id="WJDCReport" class="easyui-datagrid" style="width:auto;" toolbar="#toolbar" data-options="nowrap: false">
<thead>
<tr>
<th data-options="field:'Title', width:100">问卷问题</th>
<th data-options="field:'OptionValue', width:100">问卷选项</th>
<th data-options="field:'Answer', width:100">文本内容</th>
<th data-options="field:'NickName', width:100">微信昵称</th>