JerryOfPerth said:
r.cappa said:
Hii, in the documentation it seems that a single colModel property (“editable”) specifies if a column must be present in the add panel and the edit panel , but in large number of cases colmuns that I can set in an “add” operation must be not modifiable in “edit” mode (i.e. primary keys, Is there a way to obtain this behaviour?
Thanks
If you haven't already found a solution this might help:
jqGrid: Disable form fields when editing
I've already found this, but it is a workaround. It is not a good way, and not so much intuitive, manually hide unused fields in beforeshow event. It can be useful to configure this in a declarative mode.
It's perfect! Thanks! 
I have the same problem.
Hi, this is the form editor fragment configuration:
I'm testing it with Firebugs, that shows the HTTP operation when the data is posted to the server. So, the operation is performed correctly but the first choice between add and edit force the HTTP operation for following invocations.
Hi, unfortunately it doesn't work. I verified with debugger that the lines you have changed are executed, the rp_ge object contains the correct “mtype” value after that, but at submit the wrong operation is performed.
Thanks.
tony said:
Hello,
We will fix this very soon.
The behaviour is available since 4.1 and maybe we will go back to fix this error which is more important
Thank you.
Regards
Tony
One question: in mean time the bug is fixing, is there any workaround to get working this scenario in 4.1.1? Thanks
tony said:
Hello,
We will fix this very soon.
The behaviour is available since 4.1 and maybe we will go back to fix this error which is more important
Thank you.
Regards
Tony
Thanks Tony!
Bugzee said:
The mtype is shared between both “add” and “edit” operations. I believe you'll need to request this as a feature or modify the code yourself….
The “editGridRow” function handles both add and edit operations. You might want to see the “grid.formedit.js”
Note: This is for form editing..
Ok, I think it is not completely correct share the same logic for add and edit, because there could be different behaviours, not only the HTTP operation type.
By the way, Is there a way to force the HTTP operation in the “beforeSubmit” event, respectively of add end edit options?
Thanks
I've solved with “errorTextFormat” options.
tony said:
Hello,
You can use
r.cappa said:
tony said:
Hello,
This is not a bug. First we try to use the index and then the name.
Regards
Tony
Ok, but if both name and index are specified, nothing is sent to the server…
thanks
Sorry, only in 4.0.0 there was this problem, in 4.0.1 It works. Thanks.
tony said:
Hello,
This is not a bug. First we try to use the index and then the name.
Regards
Tony
Ok, but if both name and index are specified, nothing is sent to the server…
thanks
Hi, it seems to be an unresolved bug also in 4.1.0. Is it planned to fix it in next versions? Thanks
I think the problem is at line 5075, the instruction setAttributes(elem, options); seems to be executed before the preceding if, at line 5055
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top