You need to sign in to do that
Don't have an account?
SFDC_Developer
Show results in pageblock dynamically
How to show results in a pageblock table dynamically.
I have two pageblock table on saving the first pageblock the result should show automatically in second pageblock.
Thanks
I have two pageblock table on saving the first pageblock the result should show automatically in second pageblock.
Thanks
For that,use the rendered and rerender attributes of the pageblock components.
When you are saving the first block, you can maintain a boolean attribute on the apex class. Use that boolean attribute in the rendered attribute of the 2nd page block. In the save button of the first block, rerender the outer panel of the 2nd page block.
NOTE: Do not rerender the same panel which has specified the rendered attribute. It will not work properly.
Refer: http://bobbuzzard.blogspot.com/2011/02/visualforce-re-rendering-woes.html (http://bobbuzzard.blogspot.com/2011/02/visualforce-re-rendering-woes.html" target="_blank)
If you get the answer, please mark it as the correct answer. It will be a help to others who are facing the same problem later.
Hope this helps! Mark it as solution if this solves your problem.
Regards,
Eswar Prasad.