You need to sign in to do that
Don't have an account?
Remove tabs dynamically from apex component
Hi guys,
I have created a visualforce page in which i am using the apex dynamic component tag.I have a button called new and another button called cancel.On clicking the new button i am dynamically adding a tabusing the
myTab.childComponents.add(NewButton);
myTab.childComponents.add(cancelButton);
Finally (adding it to my tab panel)
NewCaseTab.childComponents.add(myTab);
The dynamic adding of tabs is working fine but I also want to remove these tabs dynamically on clicking the cancel button.
Not able to find any solution for this online.Not sure if this is possible.
any help or suggestions is highly appreciated.
Thanks and regards,
arag73877