如何获取jqGrid当前的搜索条件? [英] How to get jqGrid current search criteria?

查看:126
本文介绍了如何获取jqGrid当前的搜索条件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要得到jqGrid在GET / POST _search参数上传递的完全相同的东西。



我该怎么做?

解决方案

为了结束这个问题,我这样做了以下这一行:

  grid.getGridParam( POSTDATA)滤波器。 

有了这个,我得到了jqGrid在我们对其数据应用过滤器时生成的过滤器表达式。 / p>

I need to get the exact same thing the jqGrid passes on the GET/POST _search parameter.

How can I do this?

解决方案

Just to close this question I did this this the following line:

grid.getGridParam("postData").filters;

With this I get the filter expression the jqGrid generates when we're applying filters on its data.

这篇关于如何获取jqGrid当前的搜索条件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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