【StackFlow】Uncaught TypeError: Cannot read property 'pageCount' of undefined

来源:互联网 发布:山东华天软件 编辑:程序博客网 时间:2024/05/03 03:54


Exception


使用Ext JS 4 分页查询时,当查询结果为0时报错:

Uncaught TypeError: Cannot read property 'pageCount' of undefined 


解决:


//plugins: Ext.create('Ext.ux.SlidingPager', {}),将这据代码注释,极有可能是SlidingPager控件的bug,见资源[1]。但不确定。


资源


1.http://www.sencha.com/forum/archive/index.php/t-176588.html?s=e3ba56a9bdae41d7ce3b4aceba57bfd5