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
Hope E.Hope E. 

how pass a list to controller and refresh pageblockTable with new data

I collect the id of checked items and want to pass it to my controller and after that I want to refresh the Pageblock table. Can somebody help? 

function setFilter(obj){
                if(obj.checked){
                    filterIds.push(obj.value);      
                }else{
                    var index = filterIds.indexOf(obj.value);
                    if (index > -1) {
                        filterIds.splice(index, 1);
                    }                    
                }
                RefreshTableX();
            }

RefreshTableX(); is a public void method.
Thanks,

Hope E.Hope E.
Hi prolay,  The for the reply. But the checkbox is outside table and I don't use buttons inside the pageblock table. Sent from Yahoo Mail on Android