jqgrid后台处理搜索
程序员文章站
2022-08-08 13:11:57
jqgrid后台处理搜索, 如果点击jqgrid自带的搜索,则向后台传递“_search”参数,和searchField、searchOper、searchString三个值。如下所示: ......
jqgrid后台处理搜索,
如果点击jqgrid自带的搜索,则向后台传递“_search”参数,和searchfield、searchoper、searchstring三个值。如下所示:
string _search = context.request.querystring["_search"];
if (_search == "true") {
string searchfield = context.request.querystring["searchfield"];
string searchoper = context.request.querystring["searchoper"];
string searchstring = httpcontext.current.server.htmldecode(context.request.querystring["searchstring"]);
if (searchstring != "") {
switch (searchfield) {
case "xqlx":
break;
case "tjrxm":
break;
case "tjrlxdh":
break;
default:
break;
}
}
}
上一篇: Node.js入门