Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
userdata not displaying because of colModel name... please help
Tags: userdata
19/01/2012
14:13
Avatar
ram2010
Member
Members
Forum Posts: 43
Member Since:
13/01/2010
sp_UserOfflineSmall Offline

I am having problem displaying my userdata on the grid footer. I think the problem is that because my colModel name is retrieving the data from a pojo.

In all examples I have seen like in Olegs response: http://stackoverflow.com/quest.....-in-jqgrid

& /blog/jqgrid/jqgrid.html (Summary Row Footer) the colModels are like:

{name:'amount',index:'amount', width:80, align:"right", formatter: 'number'},

However my colNames are pojos and are like:

{name:'weekend.amount',index:'amount', width:80, align:"right", formatter: 'number'},

I send my JSON user data like: "userdata":{"weekend.amount":667.0} but nothing gets displayed on the grid.

I even tried just putting "userdata":{"amount":667.0}} but nothing happens.

Is it a case where by that displaying userdata as a row footer doesn't work for Pojos? I need urgent help on this. Thank you.

19/01/2012
21:36
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

I tried to define column having name:'weekend.amount' and to use "userdata":{"weekend.amount":667.0}}. All works without any problem. I used jqGrid 4.3.1. You should post full code and JSON data which reproduce your problem or debug your progrogram more carefully yourself.

Best regards
Oleg 

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
62 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information