ExtJs中Grid加载数据的超时时间的设置!(详细)
// 因为数据量较大,后台响应会比较慢,JsonStore调用load方法之后可能出现超时的情况,解决的办法很简单。// 把创建JsonStore时的代码:myStore = new Ext.data.JsonStore({ url: "http://www.example.com/test.php", ...});改为:var myBigTimeout = 90000; // 90 secmyStore = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: "http://www.example.com/test.php", timeout: myBigTimeout }),//url: "http://www.example.com/test.php", ...});