+ Start a Discussion
Mecrin Luvis 1Mecrin Luvis 1 


Hi guys,

My requirement is ,I have created one date field in lead object,Now i have to display the list of the records of the lead object  depending on date field,by using wrapper class.

Hi Mecrin Luvis,
Why you want wrapper class in this case .I don't think wrapper class is required in your scenario .
Basically we are using wrapper to to create a new object which is not available in one object .
Secondaly if you want  to create a object with combination of more then obe object .

Check this link for First scenario to add a checkbox with each record which is not a field .
https://developer.salesforce.com/page/Wrapper_Class  (https://developer.salesforce.com/page/Wrapper_Class)

Let me know if it helps !!