Hello,
The format of the server response can be any format defined from you. The ruleas are defined from you.
The answer of your two questions is here:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing
Please look at afterSubmit event.
Regards
Tony
Opps,
try to replace
$(“#grid”).jqGrid(“setGridParam”,{postData:{}});
with
$(“#grid”).jqGrid(“setGridParam”,{postData: null });
To mimic exactley the old behaviour do:
$(“#grid”).jqGrid(“setGridParam”,{postData:{}});
$(“#grid”).jqGrid(“setGridParam”,{postData:{ .. other values here..} });
Will update the docs
Regards
Hello,
The problem is fixed in GitHub:
https://github.com/tonytomov/jqGrid/commit/de9d22a39056f2abfe6aed2785ce4768f68c62c2
Regards
Tony
This is correct indeed. Try:
jQuery(“#grid_id”).jqGrid('setGridParam',{postData:{my_existing_key_in_postData:newvalue}});
Regards
Hello,
Many people many requirments – some time we can can not do everthing.
I think you understand.
Instead try to use unformat colMOdel property, without using autoencode (Catch 22)
Enjoy
Regards
Tony
Hello,
Thanks will try to do it. By the way you can change the docs
Hello,
Thanks.
The expression of type “does not work” is the most used when es goes to describe the problem.
In order to help me, and help you,
Hello,
As described into the documentation, the name and index properies in colModel can not contain spaces.
Regards
Hello Vadim,
Thank you very much for these.
I will test them.
The second fix is OK, but I'm not sure for the first one – instead that they look simple.
Thanks . Will replay.
Tony
Hello,
Nobody will help you if there is no test case.
Regards
Tony
Please check what you load.
Also try to clear a browser cache.
Here is example with the latest version from GitHub
http://www.trirand.com/blog/phpjqgrid/examples/searching/search_dialog/default.php
Regards
Tony
There is a such one.
Just search for classes option in the formater.
Regards
Tony
Hello,
The problem is fixed in GitHub.
We will try to publish a new release at end of this week.
KInd Regards
Tony
Hello,
if you want to disable user interaction when you get the data you can try:
When your request begin do
$(“#lui_”+grid_id).show();
$(“#load_”+grid_id).show();
When finish do
$(“#lui_”+grid_id).hide();
$(“#load_”+grid_id).hide();
Where the gird_id ids the id of the grid
Regards
Tony
P.S. Maybe it is a better idea to export these two things as methods – will see what I can do.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top