daydreamer6565
asked on
how to get a Json Array in to an extjs editable grid
I have a Jsp file which displays a grid on click of 'search' button.
I want my Json array to be displayed on this grid. Please guide me to do this ..
My database table (dept1) contains fields- id(numeric), name(character), alianm(character), chrg(numeric)
I am attaching my jsp file which contains the button and the extjs code..
also attaching the jsp file which outputs json array..
(the java file -dept.java which the above jsp calls to fetch database values works fine)
getJson.txt
buttonJsp.txt
I want my Json array to be displayed on this grid. Please guide me to do this ..
My database table (dept1) contains fields- id(numeric), name(character), alianm(character), chrg(numeric)
I am attaching my jsp file which contains the button and the extjs code..
also attaching the jsp file which outputs json array..
(the java file -dept.java which the above jsp calls to fetch database values works fine)
getJson.txt
buttonJsp.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I referred the above links.. I have made some changes in my code yet the grid does not display any values ..I am attaching my code please let me know where am i going wrong..
Also attaching java file and the output that is displayed..
grid.txt
jsonjsp.txt
java.txt
output.txt
Also attaching java file and the output that is displayed..
grid.txt
jsonjsp.txt
java.txt
output.txt
please provide a link to see your page
http://extjstutorial.info/
http://stackoverflow.com/q