function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Karthik TathiReddyKarthik TathiReddy 

Any way for displaying more than thousand records in visualforce page without using readonly="true"

Hi buddies...

I have an urgent requirement to display more than thousand records in visualforce page without using readonly="true" attribute.

If I use readonly="true" I don't have ability to use dml operations on the page... How could I achieve this with out using that attribute?

Ken KoellnerKen Koellner

I don't have an answer but I do have a caution.

 

If you have > 1000 records, unless the records are itty-bitty-teeny-tiny, you have a lot of data in memory.  If you have a form on the page, which you probably do because you must have some action to run the DML, you may run into view state size issues before you run into the 1000 row limit.

 

Why not try setting a limit 1000, putting on Developer Mode and Show View State in your User profile.  Then load your page.  Check the size of your view state.  Then runs some actions and check it again.

 

I'd like to hear about what it is.