Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Pagination through xsl
atosoriginal
Is there any sample code to implement pagination of result set within xsl?
Find more posts tagged with
Comments
kmu
Now this may or may not make sense in your case...
Your data source could be adapted to accept the following parameters:
- Number of items to return
- Item Offset
Then just use this to create your pagination. E.g., for a 10 items per page view on page 3 it would say number of items = 10, offset = 20.
Depending on how smart your data source is (i..e. how much logic happens there) this could of course be done there instead and you just pass along the page number. But personally I prefer the above because it is more flexible (let the user decide how many items per page to show).