This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Jqgrid Select Box not populating values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Jqgrid Select Box not populating values" Watch "Jqgrid Select Box not populating values" New topic
Author

Jqgrid Select Box not populating values

Abdul Wahab
Ranch Hand

Joined: Dec 09, 2011
Posts: 49

hi,
i am using dataurl method to populate value for select box in edit option of my jqgrid. below are my codes,

i want to display value as Larista, Swede and Nappa. but i am getting as character values.
please view attachment for better understanding. Any Help??



[Thumbnail for img1.jpg]

Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15385
    
    6
Well it looks like jsonOrderArray is a String and not an array. Are you setting the correct content type on the request?
Abdul Wahab
Ranch Hand

Joined: Dec 09, 2011
Posts: 49

yes, i have mention

in servlet and the client side as
datatype: "json"
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jqgrid Select Box not populating values