the problem solved, I suppose it was some sintax error
Hi, Tony
thank you for help and patience.
I use 4.4.1
Hello
As I noticed, I removed the problematic line $.jgrid.bindEv( elc, opt, $t); .
I also see a new added code in Firebug, so it loaded.
I debugged the code, function createData called on Add action, and also I have to notice that row
opt.custom_value.call($t, $("#"+nm,"#"+frmgr),'set',tmp);
never run.
I put a new code to jquery.jqGrid.src.js (I temporay use it instead of jquery.jqGrid.min.js) to the function createData.
Line $.jgrid.bindEv( elc, opt, $t); throws an error, so I removed it.
I also use a :
jQuery.extend(jQuery.jgrid.edit, {
Hello guys,
So, I should to put a new code:
if($.isFunction(opt.custom_value) && rowid !== "_empty" ) {
🙁 it doesn't help
I 've added a defaultValue to editoptions:
editoptions:{
Thanks, but it doesn't help.
If i set recreateForm:true it never works, but if :
jQuery.extend(jQuery.jgrid.edit, {
Thanks, I really appreciate your help.
I also tried another custom element, without formatting, and got the same problem.
{name:'created',index:'created', width:150, editable:true, editoptions:{readonly:true}, sorttype:'string', edittype:'custom', editoptions:{
tony said:
Hello,
You can do a simple trace like this:
this.getActivityScopeValue = function(elem, operation, value) {
tony said:
What content return the custom_element in your code?
it returns the set of checkboxes:
this.getActivityScopeElement = function(value, options) {
I saw it and I use it:
this.getActivityScopeValue = function(elem, operation, value) {
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top