| Page 1 of 1 | [ 2 posts ] |
|
If a search returns sufficient results for for 3 pages to be displayed, 3 pages are displayed.
If a subsequent search returns sufficient results for for 10 pages to be displayed, 10 pages are displayed. If a following search returns results for only a single page to be populated, 10 pages are still displayed (empty of records, but the number of pages doesn't reduce). Code: on: { changeRequest: function(event) { var instance = this; var newState = event.state; var page = newState.page; if (newState.before) { var lastPage = newState.before.page; $('contentPage').hide(); } paginateCallback(page); $('contentPage').show(); instance.setState(newState); } Any help? |
|
Which paginator are you using from the YUI Gallery?
|
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group