My extjs store does not load the data
4 comments. Current rating: (1 votes). Leave comments and/ or rate it.
Question:My extjs data store does not load the data. It is supposed to get the data via http from a JSP page. When I execute it manually, the JSP works.
Answer:Check with Firefly if all the necessary arguments are passed. You can do it this way:
-1- Set a breakpoint where the store.load() call is.
-2- when you reach the breakpoint, switch to the console tab, and clear it
-3- continue execution (1 step)
-4- check the details of the post request
In your case, you had passed some parameter that was lost when the load() was executed. Below the corrected code.
It is unclear why one would bother to define the params property in the store to begin with.