You need to sign in to do that
Don't have an account?
sarvesh001
Hi ,
I want to delete record by using row index . Instead of wrapper class instance by using instance List<object> i can do this.But with warpper class how can i get the recrords and remove the record.
It showing error
Method does not exist or incorrect signature: [LIST<addAttendee.turbinewrapper>].get(SOBJECT:Turbines__c)
Can any one suggest plaese ......
public turbinewrapper del;
public List<Turbines__c> delturbineList {get;set;}
public void deleteRow(){
rowIndex = Integer.valueOf(ApexPages.currentPage().getParameters().get('rowIndex'));
System.debug('rowbe deleted @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@' + rowIndex );
System.debug('rowm to be deleted '+turbineList[rowIndex]);
Turbines__c tur = new Turbines__c();
del= turbineList.get(tur).remove(rowIndex);
delturbineList .add(del);
Regards,
sarvesh.
Remove record from instance of wrapper class...
Hi ,
I want to delete record by using row index . Instead of wrapper class instance by using instance List<object> i can do this.But with warpper class how can i get the recrords and remove the record.
It showing error
Method does not exist or incorrect signature: [LIST<addAttendee.turbinewrapper>].get(SOBJECT:Turbines__c)
Can any one suggest plaese ......
public turbinewrapper del;
public List<Turbines__c> delturbineList {get;set;}
public void deleteRow(){
rowIndex = Integer.valueOf(ApexPages.currentPage().getParameters().get('rowIndex'));
System.debug('rowbe deleted @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@' + rowIndex );
System.debug('rowm to be deleted '+turbineList[rowIndex]);
Turbines__c tur = new Turbines__c();
del= turbineList.get(tur).remove(rowIndex);
delturbineList .add(del);
Regards,
sarvesh.
If my answer help you to solve your issue. Please mark it as solution.
Thanks !