KorryRogers
Posts: 0
Joined: Fri Aug 15, 2014 2:53 am

Load Collapsible Set Items from Service Call

I've got a collapsible set that was loading VERY slowly. Originally I had all the data loaded into each item in the set loaded on page load. I'm trying to convert it to where the set loads all the team names but the team details don't get loaded until a header gets tapped on. This is proving to be very difficult.

The set name is collapseTeams, header name: colTeamsHeader, item name: itemGame

When the colTeamsHeader is tapped, I'd like to load my data from a service call into the itemGame list and then expand it. How can I do that?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Load Collapsible Set Items from Service Call

Hello Korry,

Please clarify, how many collapsible blocks does your app page have?

KorryRogers
Posts: 0
Joined: Fri Aug 15, 2014 2:53 am

Load Collapsible Set Items from Service Call

There is just 1 set of collapsible blocks on the page. The set has multiple expandable headers. The exact number is different based on what data is loaded. Anywhere from 2 to 20.

KorryRogers
Posts: 0
Joined: Fri Aug 15, 2014 2:53 am

Load Collapsible Set Items from Service Call

Hello? Support? 1 response in 48 hours is not acceptable.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Load Collapsible Set Items from Service Call

You can save IDs to the header and read them on the click event. Please look at this example how to save ID to the component: https://docs.appery.io/docs/appbuilde...

Return to “Issues”