Here the situation, There are dropdown menu and pageblocktable. I want to change the values of pageblocktable when cha change the value of dorp down. plz someone explain with a example.
Call Actionfunction on "OnChange" event of your picklist. From that actionfunction change the values in controller and reRender the pageblocktable. Refreshed values will be shown in pageblocktable.
Call Actionfunction on "OnChange" event of your picklist. From that actionfunction change the values in controller and reRender the pageblocktable. Refreshed values will be shown in pageblocktable.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
/*page*/
/*controller*/
This not worked.
What will be the issue?
Hi,
Change your code as shown below and check it. For sorting you can use "order by" clause in SOQL query. Still if u face any issues let me know.
I have same workaround.
Here is the code. hopw this helps you
Visualforce page:
Controller: