This support forum belongs to the Query Builder Gallery Module.
Query Builder has a bug tracker here: http://github.com/jafl/yui-modules/issues
| Page 1 of 1 | [ 7 posts ] |
|
Am I missing something, or is there no way to add a second paginator at the bottom of the querybuilder table? (my boss requested it) I can instantiate an entirely new paginator down there, but the two don't tie together, causing a bit of confusion.
Also, if you follow a link off the table and come back to your results, it doesn't bring you back to where you left. So if I leave page seven, and hit "back" on my browser, I want to go back to page seven. Right now I go to page one. Any suggestions? Thanks, -Terri |
|
Since YUI widgets have a single bounding box, it's not easy to render the paginator into multiple locations. You can take a look at my multi-object example for one way around this restriction: http://yuilibrary.com/gallery/show/multiobject
The state of the JavaScript widgets on the page is not normally stored in browser history. If you want to do so, then you need to use the YUI 3 History module. |
|
John -
Your suggestion on the multiobject worked a peach! Now I have two of them going at the same time. However, every time I try to figure out the differences between the tabview example on that History module and what I would need to do for the paginator, I get lost. If I can get something set up tomorow on a publicly availible site, could you take a look at what I have now, and give me a few hints on what I need to do? Thanks, -Terri |
|
I can try, but I'm not very familiar with the History module. You might try posting to the "Using YUI 3.x Components" forum.
|
|
John,
Here you go. I'll also put this in the thread you suggested. http://www.besthf.com/bcassets/pagTest/pagTest.htm Thanks, -Terri |
|
That URL asks me for a login.
I think all you have to do is get the state from the paginator and store it as part of the history. Then when the user clicks "Back", use the state to set up the paginator. |
|
John,
Thought I'd let you know that the solution my boss and I came up with was to launch the search results in new windows. (It's a list of job appliants, so we're launching our online applications in new windows so that they can be compared side by side.) Thanks for your help though! -Terri |
| Page 1 of 1 | [ 7 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