View Full Version : Ext.data.Store.load fails if param value is too long

19 Jan 2013, 2:54 PM
Sample code:
this.getPartsgrid().getStore().getProxy().extraParams = {
jsonData : jsonData
scope : this,
callback : function(records, operation, success) {

if jsonData is too long, it fails to load store. Any takers on this......thanks in advance.

19 Jan 2013, 9:45 PM
What is "too long"? Does it fail in every browser, or just specific ones (like IE)?

20 Jan 2013, 6:29 AM
How does the failure present itself?

Do you still see the attempt to contact the server? Are the parameters truncated on the request? Does the server return an error? Are you sure the server can handle long requests of the form you're attempting? etc.

Are you attempting a long GET request? There's often a limit on the length of a GET request. This isn't a limit imposed by ExtJS, it's a limit in the browser or server. There's not usually a length problem using POST requests.