Sending all selected data to server in visualforce page salesforce

Sending all selected data to server in visualforce page salesforce

kravikravi Posts: 1Questions: 1Answers: 0
edited April 2019 in Free community support

Hi ,

I have used datatable in visualforce page in salesforce. showing data from server using wrapper class. i also create checkbox(first column) with every record. when i select all records using custom button and send to server, it will make all checkbox true .
But when debug on server side,only those checkbox become true which are current context of pagination when i click button to send email.
ex: if i select 2 records from page 1 and 2 records from page 2, and currently i am on page 2 then i send records to server i got 2 check box true which are on page 2.

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @kravi ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.