Hi,
i try to execute the tutorial example, but the code didn't display any result why ??
index.xml
<Alloy> <Collection src="book" /> <Window> <TableView id="table" /> </Window> </Alloy>index.js
var library = Alloy.Collections.book; // added new row var b = Alloy.createModel('book', { title : 'Great Expectations', author: 'Charles Dickens' }); library.add(b); b.save(); library.fetch(); $.index.open();what is the fetch function done !!!
Note
- i create new model (book) contain two element title and author