You need to sign in to do that
Don't have an account?
Bharatsingh Rajpali 6
public void selectedProperties(){
for(WrapperClass w : WrapList){
if(w.isSelected){
w.prp.status__c='Working';
SelPrp.add(w.prp);
}
}update SelPrp;
}
I am displaying properties having "open" status . Now I want to claim properties and stay on the same page with refreshed list of properties
public void selectedProperties(){
for(WrapperClass w : WrapList){
if(w.isSelected){
w.prp.status__c='Working';
SelPrp.add(w.prp);
}
}update SelPrp;
}
Greetings to you!
You need to call the same method, after the update, through which you are displaying properties with 'Open' status. Or you can use rerender.
If the problem persists please share the complete code.
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas