You need to sign in to do that
Don't have an account?
Devang Rana 6
If i select 5 from picklest then in page only display 5 records. and if i m select 10 from picklest then it will be display 10 records in page.
please some one give suggeation hoe can i do that?
Thanks in advance.
I need to integrate this type pagination
If i select 5 from picklest then in page only display 5 records. and if i m select 10 from picklest then it will be display 10 records in page.
please some one give suggeation hoe can i do that?
Thanks in advance.
So all you need to do is assign a value to that and rerender the table.
Here is the documentation on StandardSetControllers, with that method in:
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/apex_ApexPages_StandardSetController_methods.htm
I would put an ActionFunction on the picklist (onChange) that called an Apex method (maybe call it ResizeTable()) that then took the value from the picklist, set it into setPageSize and then on the picklist have a rerender="yourTableId"
That sounds like it will do exactly what you are after :)
Use this code-
VFPage- controller-
Thanks
Rupal Kumar
http://mirketa.com
1)http://blog.jeffdouglas.com/2009/07/14/visualforce-page-with-pagination/
2) http://sfdcsrini.blogspot.com/2014/07/simple-visualforce-pagination-example.html
you can use setPageSize(Integer)
I hope you are looking for jquery pagination
SORTING, PAGINATION IN VISUALFORCE USING DATATABLES JQUERY PLUG-IN.
https://yoafzal.wordpress.com/2013/02/04/sorting-pagination-in-visualforce-using-datatables-jquery-plug-in/
2) http://forcesecrets.blogspot.com/2011/10/experimenting-with-sosl-for-first-time.html
Please let us know if this will help you