Thank you. With this i search and found the solution. In my config i set datatype to local and switch it later to json. Then the filter works
|
1 2 3 |
var template1 = '{\"groupOp\":\"AND\",\"rules\":[{\"field\":\"SourceTrustFlow\",\"op\":\"ge\",\"data\":\"10\"},{\"field\":\"SourceURL\",\"op\":\"cn\",\"data\":\"ecommerce\"}]}'; $(\"#backlinksgrid\").jqGrid('setGridParam',{datatype: 'json', search:true, postData:{filters:template1}}); $(\"#backlinksgrid\").trigger(\"reloadGrid\"); |
Sorry – i found it. Here for some others …
– drag – can be disabled
– showOnLoad – can be defined
– resize – can be defined
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
jQuery("#allsitesgrid").jqGrid('navGrid','#allsitesgridnav', {search:true, add:false,edit:false,del:false, searchtext: 'Filter'}, //options {}, // edit options {}, // add options {}, // del options { overlay: 0, layer: 'search_layer', jqModal : false, showOnLoad : true, width: breite, drag: false, resize: false, closeOnEscape: true, multipleSearch: true, multipleGroup: false, showQuery: false, afterShowSearch : function() { $(".jqgrid-overlay").hide(); } } // search options ); |
Hello Will,
thank you – works fine.
Is there still a possibility that i can show it immediately and not only when clicking on the filter button?
Hi – oh sorry – my mistake. Now it works. I have edit the file in the false Folder.
But maybe one advice …
Guriddo_jqGrid_JS_5.1.1/js/i18n/grid.locale-de.js
Guriddo_jqGrid_JS_5.1.1/src/i18n/grid.locale-de.js
seems to be the same …
Hm sorry – not working for me. I have update the patch from github
|
1 2 3 4 5 6 |
TypeError: this is undefined /js/Guriddo_jqGrid_JS_5.1.0/js/jquery.jqGrid.min.js Line 925 ...faultSearch),a.each(b.odata,function(){o.push(this.oper)}),p=0;p<t.sopt.length;p... |
.ui-jqgrid tr.jqgrow {
Hi Tony,
i have a similar problem. I'm using 4.4.1 because i can't update JQuery 🙁
The last Ajax Request is called twice.When i scroll up and down many request are fired.
But only in Firefox 24 and higher – in Chrome all worked fine.
Scroll, 1
Rownum = 100
When you want i can gave you an demo url.
Best regards
Tom
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top