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
Mayank AgarwalMayank Agarwal 

How to show 50,000 records efficiently in Active Widget (AW) Grid ?

Amit_Amit_
Hi Mayank,

You can declare your method as readOnly by using an annotation @ReadOnly to the method like,
@ReadOnly
public list<somelistName> yourMethod(){
}
readonly will allow you to fetch million of records but this will be used for view purpose only you cannot perform amy DML operation on it.
And along with this you need to declare your list as transient other wise it will hit visualfor view state limit.
For more info on activewidget you can check this link : http://www.activewidgets.com/grid/,
hope its helpfull for you
Regards,
Amit_