Jack Thompson
Posts: 0
Joined: Fri May 17, 2013 8:43 am

Data sourcing

I was wondering whether it was possible to 'Drill Down' a list of items that link to the same page, so that when you press an item on the list it brings up a specific item on the linked page?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Data sourcing

Hello! Sorry, not sure I understand complitely. Do you mean something like this (I mean collapsible set component)? http://jquerymobile.com/demos/1.3.0-r...

Jack Thompson
Posts: 0
Joined: Fri May 17, 2013 8:43 am

Data sourcing

It is a bit difficult to explain, lets say i have a page on an app and it has a few labels on it connected to a database, when i click a menu item on another page could i get it to display a certain piece of information relevant to the item in the database?

Don't know if the screenshots help or not
Image Image Image Image

Jack Thompson
Posts: 0
Joined: Fri May 17, 2013 8:43 am

Data sourcing

If i clicked on 'East end musical' then it brings up information on the East end musical but if i clicked on 'do white south africans have a future?' it brings up info on that instead, at the minute i have to have the information on separate pages, but how i would like it is for the menu items to be connected to a database to then when clicked load up the relevant information on a single page instead of several pages, does this make any sense?.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Data sourcing

Sorry, could you clarify: you get the data from DB and form the list of ListItems. You want to click on ListItem, navigate to another screen and show information from DB related to ListItem you clicked, right?

Jack Thompson
Posts: 0
Joined: Fri May 17, 2013 8:43 am

Data sourcing

yes but to have the clicked Listitem link to a certain part on another screen

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Data sourcing

This should help http://docs.appery.io/tutorials/build...
Here is how to get specific record from DB http://docs.appery.io/documentation/b...

Jack Thompson
Posts: 0
Joined: Fri May 17, 2013 8:43 am

Data sourcing

so if there was several pieces of information on one page, like a list of people and information, then the Listitem you clicked would show the person and information relating to it and only that information
Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Data sourcing

It would be easier if you'll try tutorial I suggested - there should be a hidden field with ID from DB. After you click on item information will be shown depending on that ID.

Return to “Issues”