10 Jul 2012 1:54 AM #1
toolbar.Paging change event: pageData undefined
REQUIRED INFORMATIONExt version tested:
- Ext 4.1.1
- When there is no data to load (count = 0) the change event passes undefined as the pageData instead of an object.
- This is caused by Ext.toolbar.Paging.onLoad only setting pageData = me.getPageData() if the result is not empty.
10 Jul 2012 5:20 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
What are you expecting to be returned? Should always execute the getPageData method?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
11 Jul 2012 12:15 AM #3