You need to sign in to do that
Don't have an account?
Can we use wrapper class object list in StandardSetController
Hello guys,
I am trying to prepare a combined list of custom objects. For that I have created a wrapper class.
I want to display records in that wrapper class object on VF page using all pagincation functions that StandardSetController provides.
As I am trying to call StandardSetController its gives error. The Code is:
standardSetRelatedNPOs = new ApexPages.StandardSetController(lstNPOSchoolWrapper);
The error:
Constructor not defined.
Shall I need to create Custom Set Controller or something else. If yes, then how? Please help.
Thanks in advance.
Hi,
I hope that the below link will help for solving your issue.
http://boards.developerforce.com/t5/Apex-Code-Development/constructor-not-defined-in-test-method/td-p/164908
If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.
Thanks,
Subhani,
Salesforce Certified Developer,
www.mydbsync.com