How To add pagination for LOV?

Posted on 2011-10-10
Last Modified: 2013-11-24
Dear Experts,

i need to add lov/suggestion list to my web page, so i am using rich faces(rich suggestion box),
and i got it, but i want to show only 15 items at first and for the remaining items needs to be add pagination, means if i click 2 then next 15 items, in this manner for remaining items

Kindly advise me how can i achieve this, by using Java Script/JSF/Rich Faces
Question by:BhanuSVS
    LVL 81

    Accepted Solution


    Author Comment

    Hi Leakim,

    Thanks For u r reply.

     In the above three links the rich:datascroller attached to rich:dataTable, but i want to attach the rich:datascroller to rich:suggestionList .

    Please help me.
    LVL 81

    Expert Comment

    do you have a link to documention on rich:suggestionList?
    or confirm it's about suggestionbox (and in this case, you really pagination on this) :

    Author Comment

    Hi leakim97,

    Thanks for u r prompt response,

    i came to know it is not possible to add pagination for LOV, i know we can add the pagination for <rich:datatable>, but In the pagination instead of page numbers(1,2,3), i want to implement the concept like  with NEXT and PREVIOUS buttons. i.e if i click NEXT, it has to show next 15 records in data table, again 15 records if click NEXT but, previous 15 records if he click PREVIOUS button.

    Kindly give me your suggestion.
    LVL 20

    Expert Comment

    by:Sathish David Kumar N
    my easy suggiestion is
    use display table(dispalyTag)
    its inbulit pagination so you eash  to display the values nothing you can do in ur side ...


    Author Closing Comment

    Thanks for the response.

    Featured Post

    Course: Create Mobile App Prototypes with Adobe XD

    This is a project-based course: we go through all the steps of creating a prototype from start to finish, using all the tools and features currently available in Adobe XD. You can complete the course in less than a day, plus all project files and fonts are included.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Hide IE  and Firefox toolbar 5 36
    strCopies  challenge 17 60
    json format text only 4 50
    Page not loading properly 15 2
    The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
    OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now