• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

Ext JS: how to populate grid with values from servlet

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new to EXT js .In my project i need to add a grid which pulls data from the database.I have done a grid and created Json data but the json data is not getting displayed.Pasted the code for refrence.Please help.

TreeServlet
This creates the json data for the grid.
 
Marshal
Posts: 67478
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's good that you used code tags, but they are not very useful if you do not properly indent your code. It's unreadable as is.

Have you checked that the response is correct?
 
Vi Mani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


This is the response.

{"total":"20","data":[{"id":"1","email":"email","first":"first","last":"last"},{"id":"2","email":"god@ymail.com","first":"god","last":"god"},{"id":"3","email":"god@gmail.com","first":"god1","last":"god1"}]}


Thanks In Advance,
Vmani
 
Vi Mani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am getting loadException.What could be cause of this exception?Please help...

Thanks in advance
Vmani
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is really no one here that uses Dojo, have you tried asking it on their community? http://dojotoolkit.org/community/

 
Vi Mani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your help.I have posted this in that community .
 
So I left, I came home, and I ate some pie. And then I read this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic