Hi! I want to render a child view on PDP when a bu...
# suitecommerce
z
Hi! I want to render a child view on PDP when a button gets click. If i render the child view outside the event it gets render but it is not rendering upon click event of button. How can i achieve this ?
a
Are you using the same object method in both places? Can you describe "If i render the child view outside the event it gets render but it is not rendering upon click event of button"? What render event is working outside the button click event?
z
So i am using pdp.addChildview to add the child view if i am using this method in my entry point file then it gets rendered but if i wrap this method in layout.addToViewEventsDefinition which triggers on the click of button, the child view never gets rendered