62,046
社区成员
发帖
与我相关
我的任务
分享
<table id="listData" url="方法路径" title="列表" iconCls="icon-table" pagination="true"
remoteSort="false" singleSelect="false" pageSize="20" rownumbers="true" toolbar="toolbar">
<thead>
<tr>
<th field="要显示的字段" width="100" align="left">表头</th>
<th field="@Html.FieldFor(model => model.Title)" width="100" align="left">@Html.FieldLabelFor(model => model.Title)</th>
<th field="@Html.FieldFor(model => model.Mc)" width="100" align="left">@Html.FieldLabelFor(model => model.Mc)</th>
<th field="@Html.FieldFor(model => model.Author)" width="100" align="left">@Html.FieldLabelFor(model => model.Author)</th>
<th field="@Html.FieldFor(model => model.Remarks)" width="100" align="left">@Html.FieldLabelFor(model => model.Remarks)</th>
<th field="_operate1" width="100" align="left" formatter="JS方法">下载</th>
</tr>
</thead>
</table>
引用
<link rel="stylesheet" type="text/css" href="../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../themes/icon.css">
<link rel="stylesheet" type="text/css" href="demo.css">
<script type="text/javascript" src="../jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="../jquery.easyui.min.js"></script>