zymmetrical
 Basic Member Posts:141
 |
| 28 Oct 2006 12:55 PM |
|
I am happy with the default paging, however would like to have two sets of the pager: one in the header of the List and one in the footer. I tried first just moving the pager higher up in the ASCX layout, however that seems to have majorly broken things. I am guessing the default set up needs to actually deliver the results before paging operations can be completed. Can someone provide a tip on how I could modify the default pager to achieve my goal? Thanks! |
|
|
|
|
contactdp
 Basic Member Posts:475
 |
| 28 Oct 2006 02:09 PM |
|
In 1.9.0 we integrated Simplified custom paging with AJAX. All you need to do is Enable Ajax Interaction - Custom Paging and Add the lxPager in your Module Header and Footer. <lxPager[ModuleID,System] Pages=10 Back = "BACK " Next = " NEXT" Separator = " " BackSeparator=" " NextSeparator=" " First = "" Last = "" ></lxPager[ModuleID,System]> You Should be able to Customize How ever you wanted this to look. Note you will have both header paging and footer paging look alike. you will not be able to make different type of Paging for header and footer. |
|
| Durga Prasad(DP) | Senior Web Engineer<br>R2integrated |
|
|
kevinmschreiner
 Advanced Member Posts:729
 |
| 28 Oct 2006 03:27 PM |
|
Thanks DP, I accidentally left the documentation out for that tag in the 1.9 release! Just a quick note - while you can define as many lxPagers as you want for the module - AND YES - YOU CAN PUT IT ANYWHERE ON THE PAGE - you can't define two different configurations for the same module ID. The first lxPager will always be used as the definition - the other instances are always mirrors of the first. The reason behind this was not laziness, rather - there are some serious issues in javascript with the IE browser that limited our capabilities here. So - feel free to use this handler, we have deployed it on many sites worldwide. |
|
|
|
|
zymmetrical
 Basic Member Posts:141
 |
| 29 Oct 2006 07:53 PM |
|
Thanks guys that worked great.
Question: How to insert the 'Loading' message?
In my case, in the old version I had the following in the XListing.js file:
var LOCALE_STATUS1 = '<img src=/images/loading.gif border=0>'; var LOCALE_STATUS2 = '<img src=/images/loading.gif border=0>';
What would be the equivalent for this use IXPager?
Thanks
|
|
|
|
|
zymmetrical
 Basic Member Posts:141
 |
| 04 Nov 2006 10:33 AM |
|
Sorry wanna bump this, still haven't found the answer after a week.. how can I display a loading message using this method?
Thanks! |
|
|
|
|
contactdp
 Basic Member Posts:475
 |
| 07 Nov 2006 04:59 PM |
|
It doesn’t have that capability yet.
This is still in our Blue Sky Item’s.
Thanks |
|
| Durga Prasad(DP) | Senior Web Engineer<br>R2integrated |
|
|
mtaneri
 New Member Posts:37
 |
| 08 Jan 2008 03:19 AM |
|
Question: When ever I add turn on the Enable Ajax Interaction - Custom Paging. I lose the pager on the top and bottom of page 2, 3, etc.. It only show up on page 1. (Kind of defeats the purpose of paging)
Is there a good walkthrough on how to customize the look and feel of the pager and add it to the top and bottom in AJAX interaction mode.
I am using: Bi4ce.Modules.ListX v1.9.8.25543 |
|
|
|
|
cometcomputing
 New Member Posts:11
 |
| 08 Jan 2008 08:09 AM |
|
Yup same thing happens to me, I loes the pager when using Ajax.
How come this tag isn't in the documentation? Is it me or is the documentation somewhat incomplete? The documentation should also include samples (just a recommendation)
<lxPager[ModuleID,System] Pages=10 Back = "BACK " Next = " NEXT" Separator = " " BackSeparator=" " NextSeparator=" " First = "" Last = "" ></lxPager[ModuleID,System]>
|
|
|
|
|
contactdp
 Basic Member Posts:475
 |
| 08 Jan 2008 02:57 PM |
|
lxPager is undocumented because it is still in beta mode. we are aware of few issues with it that is why it is not documented yet.
Above mentioned is one of the known issues. we'll post the update when these issues have been fixed.
Thanks, DP |
|
| Durga Prasad(DP) | Senior Web Engineer<br>R2integrated |
|
|
rickwp
 New Member Posts:92
 |
| 17 Feb 2008 04:11 PM |
|
When using the built in paging or custom paging, is there a way to have the view go to the top of the module after the contents are refreshed with the new page data instead of having the view remain at the bottom of the module forcing the user to scroll up to the top to start viewing the list again? |
|
|
|
|
robert_chumley
 Advanced Member Posts:592
 |
| 18 Feb 2008 04:07 PM |
|
Hello, Can you clarify your quesiton a little? Did the xml above for lxPager not work for your request? Thanks, |
|
| Robert Chumley<br>r2integrated (formally bi4ce) |
|
|
rickwp
 New Member Posts:92
 |
| 18 Feb 2008 05:48 PM |
|
I'll try to clarify a bit more. I didn't use the xml above. What I've done is to set up custom paging via the sql query, but still using the default pager in ListX. In the ListX General Settings->Paging Properties I have checked Show Records Per Page, Show Page Selection, Use Custom Paging. In Ajax Interaction I have not checked the Custom Paging. The database contains about 26,000 records, so generally we list 50 records per page and most of those records have textareas with at least one paragraph. When you are viewing the last record on the page and are scrolled down to the bottom of the page and say you are on page 2 and click on page 3 in the paging to view the next page, when page 3's data comes up the screen view is still on the bottom of the page. What we'd like to accomplish is to have the screen scroll back up to the top of the page after the new page's data comes up in the view. Another way of putting it would be to say that on the bottom of page two you are viewing record #50 from the result set, when you click to view page 3, record #100 would be the record that is seen on screen and we'd like page 3 to come up at the top of the page and show record #51 and have the user be scrolling down to view the rest of the records, instead of having to scroll up to view record #51 in the listing. Does that make more sense?
If I used the xml above and checked the box for Ajax Interaction - Custom Paging in the ListX General Settings, can we add some type of lxfetch or something else to scroll the page back to the top of the page after the contents of the listing are updated with the next page's data?
Thanks, Rick |
|
|
|
|
robert_chumley
 Advanced Member Posts:592
 |
| 18 Feb 2008 10:03 PM |
|
Hello Rick, Thanks for clarifying. The only way I can think of doing this is by turing Ajax interaction off. What is happing is that the anchor tag for the pager is returning false which stops the bubbling of the event. The module will reload every time a new page is selected, so you could add a footer that calls <script>window.scrollTo(0,0);</script> Thanks, |
|
| Robert Chumley<br>r2integrated (formally bi4ce) |
|
|
Naveed
 Basic Member Posts:102
 |
| 15 Dec 2008 02:14 PM |
|
did anyone find the solution for this, if yes..please share your solution... Question: When ever I add turn on the Enable Ajax Interaction - Custom Paging. I lose the pager on the top and bottom of page 2, 3, etc.. It only show up on page 1. (Kind of defeats the purpose of paging) Is there a good walkthrough on how to customize the look and feel of the pager and add it to the top and bottom in AJAX interaction mode. I am using: Bi4ce.Modules.ListX v1.9.8.25543 Thanks |
|
|
|
|
eklug
 New Member Posts:46
 |
| 18 Mar 2009 12:44 AM |
|
This issue seems to still be occurring, even in the OWS product. I did notice in FF3 it works correctly but in IE7 after the first click the pager disappears.
|
|
|
|
|