Hi everyone,
Is there any sample on how to use an accordion with a load on click functionality?
I would like to load the content of an accordion item just when user clicks to expand it. Similar to load on click from tabs.
Thanks,
Ana
Hi Ana,
In attach goes a simple implementation of that functionality. You will probably have to tweak it to your needs.
What I've done is:
In short, when you click on a header of an accordion item it will set a condition of an item to true and when you refresh that item it will load the content.
See if it works for you.
Cheers,
José
Thank you José. It works great.
Hi José,
I downloaded your example and if Idon't change anything, everything works fine. In the meantime I created a new table with phone numbers (Phones), which has a key for the Person table. I put in a Web Block a list with the result of a query to the Phones table, filtered by the selected PensonId. Then I placed the Web Block in the true branch of the AccordionItem. Now Click on Accordion_header only works the first time. However, if Iuse the input box and the "OK" button everything works. Do you have any idea what could be causing this problem?
Best regards,
Carlos Messias