1.$("#test-datagrid").datagrid('hideColumn', 'password');其中第二个参数为对应的域,即field
2.
<th data-options="field:'roles',hidden:true,width:$(this).width() * 0.3,formatter:roleView">角色</th>
posted on 2015-03-17 15:38 nickTimer 阅读(466) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 nickTimer Powered by .NET 9.0 on Kubernetes