You need to sign in to do that
Don't have an account?
Manjeet
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..
Hi Manjeet,
Try and place the PageBlockTable inside an outputPannel and rerender the outputPanel on the command Button.
Hope this helps.
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.
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 ...............