<thead>
<tr>
<th data-options="field:'name',width:100">名称</th>
<th data-options="field:'sort',width:100" >排序</th>
<th data-options="field:'show',width:100" formatter="formatShow">是否显示</th>
<th data-options="field:'action',width:100" formatter="formatAction">操作</th>
</tr>
</thead>
</table>
----------------------------------------------------------------------------------------------------------------------------------------------------
<script type="text/javascript">
function formatShow(value,row,index){
if(value==1){
return "是";
}else{
return "否";
}
}
</script>
275



被折叠的 条评论
为什么被折叠?



