This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jqgrid Select Box not populating values

 
Abdul Wahab
Ranch Hand
Posts: 49
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
img1.jpg
Image1
[Thumbnail for img1.jpg]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 49
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, i have mention

in servlet and the client side as
datatype: "json"
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic