Page 1 of 1

Data sourcing

Posted: Wed May 22, 2013 11:11 am
by Jack Thompson

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?


Data sourcing

Posted: Wed May 22, 2013 11:29 am
by Maryna Brodina

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


Data sourcing

Posted: Wed May 22, 2013 12:14 pm
by Jack Thompson

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


Data sourcing

Posted: Wed May 22, 2013 12:20 pm
by Jack Thompson

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


Data sourcing

Posted: Wed May 22, 2013 12:52 pm
by Maryna Brodina

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?


Data sourcing

Posted: Wed May 22, 2013 1:20 pm
by Jack Thompson

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


Data sourcing

Posted: Wed May 22, 2013 1:23 pm
by Maryna Brodina

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


Data sourcing

Posted: Wed May 22, 2013 1:33 pm
by Jack Thompson

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


Data sourcing

Posted: Wed May 22, 2013 1:42 pm
by Maryna Brodina

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.