• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jqgrid Select Box not populating values  RSS feed

 
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
[Thumbnail for img1.jpg]
Image1
 
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"
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!