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
ManjeetManjeet 

How Ajax works in visualforce

Hi

    I want to filter a Prospects List Page (a Page Showing list of prospects of customer ) on some fields like prospect Ref No ,Customer Name etc . But the problem is that i cant update apex:PageBlockTable with rerender attribute of command Button . I am using PageBlockTable tag to show my list beacause I need to iterate the list of records . Is there any alternate to iterate a list except pageblockTable and dataTable . Or any idea to implement my filter requirement .........

I have done this with ajax in our same project on struts framework.

 

Thanks in advance..

ipsita.biswas@in.v2solutions.comipsita.biswas@in.v2solutions.com

Hi Manjeet,

Try and place the PageBlockTable inside an outputPannel and rerender the outputPanel on the command Button.

Hope this helps.

Pradeep_NavatarPradeep_Navatar

There are two ways to accomplish this :

 

- You can rerender the whole pageblocktable by rerender attribute in actionfunction or commandbutton and pass the id of  <apex:outputpanel> in rerender attribute.

 

- You can get records by <apex:repeat> component.

 

Hope this helps.

ManjeetManjeet

thanks for your reply ..

I have tried many way but it seems that rerender attribute does not work on pageBlockTable even the whole form is rerendered .

please help me ...............