facebook

Dynamic list from database

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #326050 Reply

    Brandon
    Member

    I have been searching but havent found a good solution. What I would like to do is let the user create a local database storage and have this dynamically update a list, the show the info when the user clicks on the list. It would be a lot like the sticky notes sample, but a list instead of the notes. I am kind of new to javascript (though I do a lot of actionscript programming). Any samples or help is greatly appreciated as I would like to switch to mobione for a lot of my mobile development.

    Thanks

    #326054

    Unknown Author
    Participant

    Cincy – There’s a great example of dynamic list generation already. You’ll probably have to combine this with the dB examples.

    I’m currently working on an app that uses localStorage to track and dynamically generate _two_ lists based on user functions (add, delete, edit). I’ve had to append text to the key names so that the two lists can be independent of eachother within the same localStorage space.

    I’m thinking about posting some of the code in the How-To section when it’s done – probably in two or three months.

    -1TC

    #326058

    Brandon
    Member

    Yes, I saw the samples you are talking about, just not quite sure how to do it in javascript. The database really only needs a title and text, then the list would show the title, a new page would load the text and use the title as the page title. I did manage to solve one of the other problems I had, which was loading from text files into a new page, but on this one the list is a fixed list, so it made it easier. I will play around with it later and see what else I can do with the samples you mentioned.

    Thanks 1TC
    (I look forward to seeing your How-To.)

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Dynamic list from database

You must be logged in to post in the forum log in