Multiple search with multiplefields by default

后端 未结 2 984
孤城傲影
孤城傲影 2020-11-27 22:35

So, there is a jqGrid, with declaration, smth like:

$(\"#grid\").jqGrid({
...
bunch of stuff
...
).searchGrid({ multipleSearch: true });

wh

2条回答
  •  天命终不由人
    2020-11-27 23:14

    You cannot do this using the jqGrid API. Instead, you will have to use the afterShowSearch event to call a function after the search dialog is displayed. In that function you could programmatically add new rows, setting each one to the desired values.

提交回复
热议问题