因为只有一条数据,所以准备竖着显示。
这是我用的那个datagrid的代码,我试过修改
标签,还有添加,都不适用,我是刚开始学习的,比较小白,没什么C币,求大神带我飞:
name="companyInfoTable" title="租户信息表"
style="width: 1100px; height: 450px"
data-options="
rownumbers:true,
singleSelect:true,
url:'/manager/selfinfoController/getSelfInfo.do',
method:'get',
toolbar:'#companyInfoTable_toolbar',
pagination:true,
fitColumns:true,
">
<thead>
<tr>
<th data-options="field:'pkCompany',width:80,hidden:true">公司编号</th>
<th data-options="field:'companyName',width:120">公司名称</th>
<th data-options="field:'companyAddr',width:120">公司地址</th>
<th data-options="field:'telephone',width:80">联系电话</th>
<th data-options="field:'legalPerson',width:80">公司负责人</th>
<th data-options="field:'license',width:80">营业执照</th>
<th data-options="field:'licenseSt',width:80">使用日期开始</th>
<th data-options="field:'licenseFt',width:80">使用日期截止</th>
<th data-options="field:'isuse',width:80,formatter:formatter1"><select id="isuseSelect"
onchange="doSearch()">
<option value="">是否可用</option>
<option value="1">是</option>
<option value="0">否</option>
</select></th>
<th data-options="field:'remark',width:150">备注</th>
</tr>
</thead>
</table>