Questions tagged [pagination]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
18 views

Lightning pagination not working as expected on clicking previous it moves to next

[ Hello This is the component code on clicking on previous button instead of redirecting to previous tab its redirected to next tab can some one correct this where iam wrong while doing previous tab ...
1
vote
1answer
71 views

Is there anyway to combine StandardSetController and List [closed]

I need to be able to edit and save records in a pagination. Right now I can get the pagination to work if i have apex:pageBlockTable value="{!Accounts}" but then i can't refresh the page with a ...
0
votes
1answer
14 views

List type method created and return the same list getting error in return type

Working for pagination on custom object record, using StandardSetController everything initialized but it is giving error that Error: Compile Error: Unexpected token 'return'. at getAgentAsset ...
0
votes
1answer
428 views

Lightning Web Components lightning-datatable detect “select all” checkbox

When using the lightning-datatable component, by default each row has a checkbox beside it (unless so explictely specify hideCheckboxColumn to false). So when a row is selected the onrowselection ...
0
votes
0answers
35 views

Correct formula for the last page in pagination

I make a pagination for lightning for my list of objects. First part is great. But when i get to the last page (v.pages == v.page) - something goes wrong. Values for the number of objects are ...
0
votes
1answer
31 views

Visualforce: How to get the look of pagination buttons from a standard object like accounts to my custom visualforce page?

I have this code for the pagination buttons: <apex:pageblockButtons location="bottom" html-align="left"> <apex:commandButton id="firstpage" value="◄◄" reRender="details" action="{...
0
votes
1answer
223 views

Custom controller pagination using standard set

I'm stuck on standard set controller pagination for my case study as it requires if statements to create a list query which i can't convert to string here's the codes so far <apex:page controller=...
2
votes
1answer
164 views

How to make HttpGet service pagination with a limit of a million or more?

Offset can take only 2000 records, but I need more. How can I send to the callout side 1 mln or more records with pagination and step of 100-200 records per 1 page? I mean when callout request for 100 ...
0
votes
1answer
93 views

Unknown property 'ApexPages.StandardSetController

I've a requirement where on VF page there would be a button on click of which data would be retrieved from an end point which is to be then shown on the same page. For pagination purpose I decided to ...
0
votes
2answers
587 views

Is it possible to display 15,000 records in lightning component?

In contact object, we have 15,000 records. I want to display them into a lightning component. Functionality : Need to load 15,000(maybe more) records. Need to provide pagination. Need to Provide ...
0
votes
1answer
645 views

Lightning Datatable row selection issue in Pagination

I am using the lightning:datatable component along with the pagination, the issue i am facing is that when we select a specific row/rows and go to next pagination page , then the previous sleccted ...
1
vote
1answer
455 views

Modified rows exist in the records collection! in Visualforce using input:TextArea

i have problem for inline editing visualforce with pagination. In the right column i have input text area and its the problem, everytime i fill that field and click next button, i always get error ...
0
votes
1answer
80 views

Record changed data is not sending from VF page to controller in case JQuery Pagination

VF page displays the records using page block table. I'm updating the records from VF page by clicking on "Save" Button. I've used standard Jquery pagination to implement the pagination. When I am ...
0
votes
0answers
105 views

In VF page record in not updating from other pagination pages. In Vf used jquery pagination

I've created the VF page to mass update the records. Records are displayed using page block table. I've used the jquery pagination. When we submit data from page it should update to the system. Its ...
0
votes
0answers
477 views

Standard set controller Pagination, problem with setting page number

I would like to implement pagination on my searchResults table but I have problems with changing the page, because default StandardSetController next(), last() etc. functions don't work... Could you ...
0
votes
1answer
36 views

Cannot save record in VF and Apex

My VF page shows output from one custom object, but I want to save input into a different object using a form and inputfields. All I am getting back is NULL, so I am not sure what I am doing wrong. I ...
0
votes
1answer
84 views

Help with Incorporating Code for Pagination [closed]

I have created a visualforce page that displays an object and allows searching/sorting of the list with AngularJS and now I am trying to add pagination. Here is a perfect example of what I'm looking ...
1
vote
2answers
256 views

SOSL search in master details objects

I have two object A__c(s1__c) and B__c(s2__c) and relationship among them is Master-details. I have to make a SOSL search in field of both(s1__c and s2__c). Find {searchText} Returning A__c(s1__c), ...
0
votes
1answer
77 views

check all button is rendering to the 1st page when i am selecting that in 2nd page(pagination )

I have one page where i am searching for contacts.There the result i am getting and i have given pagination for that.to perform any action on those contacts i am using check box.One select all check ...
0
votes
2answers
412 views

Consume REST API pagination

I am new to the Salesforce/Marketing Cloud APIs and need to consume the Contact API (attribute search) for part of a solution that I am providing a client. I'm successfully getting expected data ...
1
vote
0answers
124 views

Dsiplay 50k+ records in VF page with Pagination [duplicate]

I'm trying to build a page which shows a list of records in Salesforce database. There can be scenarios where there can be more than 30k or 50k or even more records. I'm currently implementing ...
1
vote
0answers
17 views

Something is hiding behind in Reports and Dashboard. How to reveal it?

I tried to see all the reports in the org, but I think the paging part is hiding and am not able to access it. Please suggest.
1
vote
1answer
77 views

problem with sorting Quote

I have following custom quote page and controller but the problem is sorting is not working properly, When i click on column for sorting ascending and descending it will not show me the list with ...
0
votes
1answer
119 views

StandardSetController with History records

I recently found out that the StandardSetController can't be used with any of the History records such as MyCustomObject__History. The exception I got was: List controllers are not supported for ...
2
votes
2answers
388 views

Visualforce Pagination and Viewstate

I am working on a searchpage in Visualforce where pagination is needed on a very large dataset. StandardSetController does not seem to be a good fit due to the fact that the entire dataset is still ...
0
votes
2answers
431 views

StandardSetController - how does it work?

I want to know how StandardSetController actually works. My expectation on the insight is to understand how salesforce is handling the result set, in contrary with normal re-querying of records with ...
-1
votes
1answer
779 views

custom Pagination with A-Z Sorting Filters

How to create a custom pagination with a-z filter without using standardsetcontroller. explaination- 1) I want to display few fields(name,city etc) of all contacts records on the vf page with any ...
0
votes
0answers
61 views

needs pagination due to Collection size 1,375 exceeds maximum size of 1,000.

I am encountering the said error above <apex:page docType="html-5.0" standardController="Account" Extensions="StandingController"> <style type="text/css"> body {background: #F3F3EC; ...
0
votes
1answer
145 views

Global or universal pagination class used by many objects

I have custom related lists in a Visualforce component where each of them needs a pagination method. I found many solutions for pagination, but pagination when it is about one object. But what about a ...
0
votes
0answers
239 views

Rendered is not working

In my code, I have 2 pageblockTable with 2 values(apex). They are displaying data in 2 different tables. First pageblockTable displays the data based on search button after giving input. Second ...
0
votes
0answers
300 views

pagination using javacript remoting

Kindly let me know what is wrong in the below code.Records are not getting displayed. I am not that much strong in javascript. vf page:---- <apex:page controller="javascriptremoting" > <...
0
votes
1answer
348 views

soql offset error for Pagination in Test Class

My class Public Integer OffsetSize = 0; Public Integer LimitSize= 10; public integer totalrec{get;set;} // StandardController relates to task public HomePageStd(ApexPages....
0
votes
1answer
443 views

how to handle exception of maximum offset limit 2000 and not disable button not working

I'm showing data in pagination form using offset, when i have click on last button its show an exception that is "Maximum SOQL offset allowed is 2000 " how to handlr this exception. i have set size 3 ...
0
votes
1answer
428 views

List controllers are not supported for Task

While doing pagination for task using standardsetcontroller it's throwing error List controllers are not supported for Task What is the other way to show data on vfpage in pagination format for ...
0
votes
1answer
85 views

pagination is not working please provide solution

i am trying to do pagination for the following page but i dont know where i went wrong the pagination is not working. And i want to show 5 records per page,.so how to do can anyone help!!!! <apex:...
2
votes
1answer
317 views

Pagination is not working for my VF page

I have search page where it will search for Opportunities based on some filters. I added pagination,but the issue is it is showing only 10 records out of 125 records and when I click on next button it ...
1
vote
1answer
484 views

Problem when trying to retrieve a list of records and pagination

I'm facing a problem in a lot of my components lately, it's when I try to retrieve a list of records, and I try to put a pagination too. I had already build some components with a list and ...
0
votes
1answer
293 views

Pagination of Wrapper List in VF Page

Can someone assist us regarding the error message we get. It seems that obj.hasPrevious doesn't have a value. How can we put a condition here that it will return the hasPrevious method if it has a ...
0
votes
0answers
249 views

Pagination with selectAll js not working properly

i have a vf page where i do apply pagination using java script. All things are working properly except when i navigate to next page the SelectAll checkbox is not working properly. When i check ...
2
votes
2answers
708 views

VF page showing salesforce pagination using datatables

I'm trying to create a salesforce list view pagination using datatables, in my visualforce page. In my case, I have lets say 10K records and like on salesforce I want to show not more that 2000+ ...
0
votes
0answers
195 views

How to resolve issue with pagination?

I am facing issue with pagination as its not working correctly. its dropping records. When we set Limit pagesize its limits to records to search and but i need to limit the page size of the page only ...
0
votes
1answer
516 views

Pagination of records using vf page going beyond the list size

I am achieving pagination of Account records using vf page with custom controller.But the issue is that it is the Next button is functioning even when the list size has ended. How to fix that?? <...
0
votes
1answer
259 views

Is there any way to persist check box value in wrapper class when using pagination

<apex:pageBlock > <apex:pageBlockButtons > <apex:commandButton value="Activate" action="{!processSelected}" rerender="table"/> <apex:...
0
votes
1answer
962 views

How do I persist the data in pagination

EDIT 2: I looped through the Products collection and no updated values found, i have updated my question again to show you how i'm doing In the next action method I have the following: for(...
0
votes
1answer
34 views

How do I make List 1 based rather than 0 based

EDIT: public class ProductWrapper { public Product2 product {get;set;} public asset_line_items__c ali {get;set;} public ProductWrapper(Product2 p, asset_line_items__c ali) { ...
-1
votes
1answer
295 views

Pagination setPageSize inconsistence

I'm using the following code and everything working fine but one thing i have noticed is that, when the very first page loads it add extra row, meaning that, if I setPageSize = 5 I expect to see 5 ...
0
votes
1answer
263 views

pagination is not working properly

I am not able to navigate on next page in my pagination.here is my apex class public ApexPages.StandardSetController setCon //pagignation for customer incident { get{ if(setcon==null) ...
1
vote
2answers
715 views

Pagination Next does not take to the next page

My question is continuation of this question The problem I'm facing now is that when I click on the Next button its not showing the next page of set and I have 25 rows, I have setPageSize = 5 In the ...
1
vote
1answer
188 views

Wrapper class pagination - Constructor not defined: <Constructor>(SObject

EDIT: I have implemented the changes here based on the Daniel Ballinger now I'm not getting error but when I click on the Next button is not going to the next page i have around 25 rows. here is my ...
0
votes
0answers
425 views

Carousel/Pagination with <apex:repeat>?

I have an element that gets records from my object (custom object Banker_details__c, the field is a rich text area Banker_photo__c which contains just an image) and displays a radio button + its ...