开发者

jqGrid: Search Box: How to hide the search popup programmatically

开发者 https://www.devze.com 2023-02-10 05:05 出处:网络
I\'m using the jqGrid plugin along with its \'advanced search\' feature. Is there a way to programmatical开发者_运维知识库ly show/hide the search popup? I\'d like to hide the popup, if it\'s currently

I'm using the jqGrid plugin along with its 'advanced search' feature. Is there a way to programmatical开发者_运维知识库ly show/hide the search popup? I'd like to hide the popup, if it's currently being displayed, based upon a user action elsewhere on the screen.


If you have a jqGrid with id="list" then the "Advanced Search" dialog will have id="fbox_list"
(it will be build from the "fbox_" prefix and the grid's id). So, to hide the dialog it should be enough to use:

$("#fbox_list").hide();
0

精彩评论

暂无评论...
验证码 换一张
取 消