Check to see if you use the min version in jquery.jqgrid.js then replace the appropriate way
Aha. You can add in navGrid parameters for the search
navGrid('pager', edit,add,del,search,refresh,
{}, // edit options here
{}, //
This should work.
I recommend you to clear the cache. Regards
Tony
Replace only grid.formedit.js –
Check you configuration. Also check the css files image path
and images. Use FireBug to see if all is loaded ok.
In you second way you should define button (or href) to work that –
Something like
(“#mybutton”).click(function(){
$(”#qpGrid”).searchGrid({sopt:['bw']});
}
Regards
Tony
You do not need to do that. The id of the posted data is passed automatically. If you fave FireBug you can see what is posted.
Maybe you use 3.1 version. This bug is corrected in 3.2rc, but one user reported that there is a something wrong with the replacement (zip). Could you please use 3.2rc. In this case your code should work.
Regards
Tony
Josep,
Check your logic again. To sort this way you need to pass additional parameters to sort. Example:
$(“#mygrid”).setGridParam({sortname:'myname',sortorder:'asc'}).trigger(“reloadGreid)
Also in module inlineedit there is a very useful method sortGrid(colname,reload)
where the colname is the colname and reload is boolean which tells if the grid should be reloaded.
Regards
Tony
Reg,
Would you like to be a person responsible for gathering/editing everything of the documentation?
Thank you
Regards
Tony
What do try to do? – You should pass a couple of other parameters.
Regards
Tony
Do not understand 🙁
Pease check the value of gr. Also try ret['amount'].
Regards
Tony
Thanks I will check the zip.
regards
Tony
Reg,
Will try to be ready on 30 June or 1 July.
Regards
Tony
Daniel.
“Am I missing something in upgrading to 3.2rc” – this is very strange.
Could you please replace only the grid.formedit
Currently no, but in the final release I plan to implement such option
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top