Skip to main content
Chakra Varthi Konreddy (Salesforce) a posé une question dans #Apex
A checkbox besides every record when checked, selected reords should be displayed and with the help of a custom button those selected records should be deleted,Wondering if it is possible with the help of a wrapper class. 
2 réponses
  1. 25 juil. 2015, 18:54
    Yes, it is possible to create a class to mimic the object with the additional checkbox ( not sure if you consider this a wrapper class).  That said, if you can spare a field in the object model, you can just add a checkbox field in the object called "Selected" and not have to worry about wrapper classes and manipulating data back and forth between the original object and the  wrapper class when updating/deleting the original object.
0/9000