jqgrid隐藏网格内的行 [英] jqgrid hide row inside grid

查看:51
本文介绍了jqgrid隐藏网格内的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在网格中隐藏一行? (而不是删除).

How can I hide a row inside my grid? ( not delete it).

推荐答案

不直接支持.您可以只使用$("#"+rowid).hide()来隐藏id ="rowid"的行,但是网格中的一些小东西可能不像以前那么好.例如,您使用rownumbers:true,用户将看到行号不是连续的.此外,如果您不使用height:'auto',工作台高度将不理想.所有需要解决的问题都可以手动修复.

It is not directly supported. You can use just $("#"+rowid).hide() to hide row with id="rowid", but some small things in the grid can be not so nice as before. For example it you use rownumbers:true the user will see that row numbers are not sequential. Moreover if you not use height:'auto' the table height will be not perfect. All the problem if needed you can fix manually.

这篇关于jqgrid隐藏网格内的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆