We have created a lightning component where we are displaying transaction records. We have used lightning datatable and also implemented pagination. Data that is to be displayed is retrieved by API callout, we are not storing anything on salesforce org. There is possibility that millions of records retrieved. How many maximum records can browser or lightning component can handle in this case?


I dont think there is a attribute level size defined but there is a size limitation for the entire lightning component payload which is 4 MB

Client Payload Data Limit Increased to 4 MB The framework batches server-side actions in the queue into one server request. The request payload includes all of the actions and their data serialized into JSON. The request payload limit has been increased to 4 MB.

Previously, it was 1 MB. Use action.setParams() in JavaScript to set data for an action to be passed to a server-side controller.

Read winter 2018 release notes

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.