I am trying to use Lawnchair (http://westcoastlogic.com/lawnchair/) for a mobile project to store information about different things. I need to store in more than more table.
var people = new Lawnchair('people');
var groups = new Lawnchair('groups');
This does not completely work, it tries to copy contents from the people table to the group table. I have tried setting people.adapter.table on the fly which also results in a similar issue. I'm beginning to think it is not possible to have more than one table with Lawnchair..
Any help?
You should set the 'name' option on your Lawnchair instances:
var people = new Lawnchair({name: "people"}, function(){});
var groups = new Lawnchair({name: "groups"}, function(){});
-Marc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With