Forum
Topic RSS
19:52
04/09/2009
OfflineHello,
I spent so much time to find problem in my situation.
My problem is that object userdata has not value for my method. Grid working properly show all data. Json is call by POST.
javascript:
var ud = jQuery('#list0').jqGrid('getGridParam','userData');
// var ud = jQuery('#list0').getGridParam('userData'); I tried two differnt access with the same result
alert(ud.abo);
Message from allert is [undefined] ; where tried alert(ud) message is [object Object]
PHP:
$responce->userdata['abo'] = "1234";
Firebug responce snapshot:
"userdata":{"abo":"1234"}
many thanks for any navigation, I read all of documentation and all of this formus where talking about userdata.
21:58
Moderators
30/10/2007
OfflineHello,
It all depends when and where you call this.
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 994
Currently Online:
44 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
Log In
Home