function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bharatsingh Rajpali 6Bharatsingh Rajpali 6 

I am displaying properties having "open" status . Now I want to claim properties and stay on the same page with refreshed list of properties

User-added image
 public void selectedProperties(){
          for(WrapperClass w : WrapList){
                  if(w.isSelected){
                  w.prp.status__c='Working';
                  SelPrp.add(w.prp);
                  }
  }update SelPrp;
  }
 
Best Answer chosen by Bharatsingh Rajpali 6
Khan AnasKhan Anas (Salesforce Developers) 
Hi Bharat,

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