Forum
12:49
29/07/2011
Hello,
I have the following problem : in my grid, three columns have a editoptions/dataEvents defined ("change" for a select dropdownlist in form editing).
For two of them, it's working perfectly. For the third one, it does not. I checked and counter-checked and there is no mistyping involved. Same behavior on IE or Firefox.
What I see in the jquery.jqGrid.src.js source code is that the lost dataEvents is effectively bounded when the "p" variable is extended. But later, it's suddenly dropped. I can clearly see in firebug that "this.p.colModel[5].editoptions.dataEvents[0].type" is suddenly "undefined".
My grid use multiselect. With multiselect enabled, the drop happens at this precise line (#2014) :
this.p.colModel.unshift({name:'cb',width:isSafari ? ts.p.multiselectWidth+ts.p.cellLayout : ts.p.multiselectWidth,sortable:false,resizable:false,hidedlg:true,search:false,align:'center',fixed:true});
With multiselect disabled, the drop still happens, but later. I haven't been able to see when exactly yet.
This is really the only thing that gets dropped. All the rest is working fine. Also for this column, there is a editoptions/value defined, and it works. It's really just the dataEvents property that disappears in the void.
Is it a known problem? Is there a workaround?
Most Users Ever Online: 715
Currently Online:
39 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66