+ Start a Discussion

Displaying more than 1000 records in the vf page?

how can we show more than 1000 records in visualforce page?


Use the readonly attribute - this relaxes the limit on the understanding you aren't going to make any changes to the data:




Thank you so much bob. I am able to display more than 1000 records after giving readOnly = "true"


I have one doubt may be with this displaying is possible. Is it possible to do any dml operations on these records when i given this "readOnly=true"


Thanks in advance....


No, that's the contract - you can get more data as you guarantee not to change it.


Should it work for any element collection? I'm still getting 'collection size exceeds..' error for a List<String>.