1.$("#test-datagrid").datagrid('hideColumn', 'password');
其中第二个参数为对应的域,即field

2.

<th data-options="field:'roles',hidden:true,width:$(this).width() * 0.3,formatter:roleView">角色</th>

相关文章:

  • 2021-10-03
  • 2022-12-23
  • 2021-11-09
  • 2021-06-12
  • 2021-07-31
  • 2021-10-03
  • 2021-11-02
  • 2022-12-23
猜你喜欢
  • 2021-08-19
  • 2021-07-02
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2021-06-21
相关资源
相似解决方案