You need to sign in to do that
Don't have an account?
Roopa S 1
hii i need to write aura component plz someone help
i need to display account details using aura component and i should display only 10 records in one page and i should have 2 buttons that is PREVIOUS PAGE and NEXT PAGE to switch between previous page and next page.How to do this??
You will need to go with the pagination approach.Use the code posted on https://www.mstsolutions.com/technical/pagination-using-lightning-components/ to get started.
Also see related:
https://salesforce.stackexchange.com/questions/146896/how-to-add-the-functionality-of-previous-and-next-button-using-to-display-single
https://developer.salesforce.com/forums/?id=9062I000000Qw7OQAS
https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000A7m7ZSAR
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
Please refer the below article will help you to proceed further on your requirement.
https://www.biswajeetsamal.com/blog/pagination-in-lightning-component/
If this helps, please mark it as best answer.
Regards,
Ankaiah Bandi
please Refer Below link.
https://www.sfdcblogs.com/post/pagination-using-component-events-in-aura-component#:~:text=%EE%80%80Pagination%20using%20Component%20Events%20in%20Aura%20Component%EE%80%81.%20Updated%3A,by%20a%20user%20interacting%20with%20the%20user%20interface.
Best solution for your requirment:-
https://vkambham.blogspot.com/2020/02/lwc-paginator.html
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh