20. 表示するアイテムを変えてみる
デバッグしてポータルを確認。
var refreshTodoItems = function () {
// This code refreshes the entries in the list view be
querying the TodoItems table.
// The query excludes completed TodoItems
todoTable.where({ complete: false })
.read()
.done(function (results) {
todoItems = new WinJS.Binding.List(results);
listItems.winControl.itemDataSource =
todoItems.dataSource;
});
};
ここら辺を
いじってみま
す