Page 1 of 1

Load Collapsible Set Items from Service Call

Posted: Tue Oct 11, 2016 5:30 pm
by KorryRogers

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?


Load Collapsible Set Items from Service Call

Posted: Wed Oct 12, 2016 7:59 am
by Serhii Kulibaba

Hello Korry,

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


Load Collapsible Set Items from Service Call

Posted: Wed Oct 12, 2016 1:26 pm
by KorryRogers

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.


Load Collapsible Set Items from Service Call

Posted: Thu Oct 13, 2016 1:11 pm
by KorryRogers

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


Load Collapsible Set Items from Service Call

Posted: Fri Oct 14, 2016 8:52 am
by Serhii Kulibaba

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...