Accordion with lazy loading inside listview - Accordion doesnt open on first click

0
Hi, I put Accordion inside a listview that takes data from Database. Because I wanted lazy loading, I selected the Load content: When expanded option, so that the content loads from database only when I click on the Accordion to open it, not before. However when I click on it the first time, nothing happens (content doesnt load and Accordion doesn't open). It loads and opens only after 2 additional clicks (to "close" it and "open" it again). AI said there might be some issue between those two widgets in timing, that the fact Accordion is inside listview could make the timing of events bad and therefore the Accordion needs the additional clicks. When I set the Load content option to Always, it has no problems. However thats not lazy loading which will be very much needed in the application when there's a lot of objects in the future. Has anyone encoutered this issue before/solved it? Has the Accordion simply no logic to take into account the interaction with other widgets such as listview?   Ty
asked
1 answers
0

Ruzena

I just tested this out and had different results than you.  I created a Parent and Child entity.  Then, I created this page:

image.png

This page has a ListView with a nested Accordian widget. 

 

Then I created simple microflows to created Parent and associated Child objects.  

 

Finally, I created a few parents and 100,000 or more children for each parent with the microflows.

 

The lazy loading worked with a single click in 10.17.  I then thought that perhaps it was a version difference, so I upgraded it to 10.24.9.  Single click lazy loading also worked for me in that version.

 

Here is the configuration of my Listivew:

image.png

 

And here is the configuration of the Accordian widget

image.png

 

image.png

 

Let me know if there are additional settings or info I can post in my answer to help you.

 

Mike

 

 

answered