[SailfishDevel] Hidden information to ListView

2014-02-22 Thread Jukka Heikkilä
I'm creating page which shows some information which is returned from local storage. I have successfully created the next code which will work: Page { root Component.onCompleted: { //External Function which return the items from Local Storage items = DB.listItems();

[SailfishDevel] Want to meet at Barcelona this week?

2014-02-22 Thread Alejandro Exojo
Hi there. I live in Barcelona, and I can't attend the MWC (pass is too expensive for just popping the last hours of the day, and I'm no press), but I would love to take the oportunity of meeting Jolla sailors or fellow Jolla owners! I've found this TJC question: https://together.jolla.com/ques

Re: [SailfishDevel] Hidden information to ListView

2014-02-22 Thread christopher . lamb
Jukka It is very easy to add multiple roles / fields with the same append command. Here is an example culled from one of my apps: var db = DB.DataModel(); var rs = db.getContacts(area_id, template_id); for(var i = 0; i < rs.rows.length; i++) { contactModel.append({"name": rs.rows.item(i).na