aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@jouni.me>2015-10-26 23:05:59 -0700
committerJouni Koivuviita <jouni@jouni.me>2015-10-26 23:05:59 -0700
commit0452010651136e90311938e538220ee3e4257101 (patch)
tree5715dff549a804894ee65c1a377b04c1ca90d02b
parent496d86c9bb3a9129e5feae7e5290dc75f0b6430e (diff)
downloadvaadin-core-0452010651136e90311938e538220ee3e4257101.tar.gz
vaadin-core-0452010651136e90311938e538220ee3e4257101.zip
Update README.md
Fix the example to use the new data source API (for real)
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7c7d163..1b79634 100644
--- a/README.md
+++ b/README.md
@@ -126,7 +126,7 @@ We offer three ways to use Vaadin Elements in your project: Bower, CDN and ZIP a
// Use the returned data array directly as the data source
// (keeping all the data source items in the browser's memory)
- grid.datasource = json.results;
+ grid.items = json.results;
}
}
}