Link to home
Start Free TrialLog in
Avatar of BhanuSVS
BhanuSVSFlag for India

asked on

How To add pagination for LOV?

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
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BhanuSVS

ASKER

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.
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) : http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_suggestionbox.html
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.
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 ...

Thanks for the response.