template.js.plugins.grid.addons.min.js Maven / Gradle / Ivy
'use strict';(function(a){a.jgrid.extend({searchGrid:function(b){b=a.extend({recreateFilter:!1,drag:!0,sField:"searchField",sValue:"searchString",sOper:"searchOper",sFilter:"filters",loadDefaults:!0,beforeShowSearch:null,afterShowSearch:null,onInitializeSearch:null,closeAfterSearch:!1,closeAfterReset:!1,closeOnEscape:!1,multipleSearch:!1,cloneSearchRowOnAdd:!0,sopt:null,stringResult:void 0,onClose:null,useDataProxy:!1,overlay:!0},a.jgrid.search,b||{});return this.each(function(){function p(b,d){var c=
b.p.postData[d.sFilter];"string"==typeof c&&(c=a.jgrid.parse(c));if(c&&(c.groupOp&&b.SearchFilter.setGroupOp(c.groupOp),c.rules)){var h,e=0,f=c.rules.length;for(h=!1;e