Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var observable = kendo.observable({
- people: [
- { name: "John Doe" },
- { name: "Jane Doe" },
- { name: "Jimmy Doe" }
- ],
- products: [
- { name: "Table" },
- { name: "Chair" },
- { name: "Tomato" }
- ],
- animals: [
- { name: "Dog" },
- { name: "Cat" },
- { name: "Monkey" }
- ]
- });
- $.ajax("mysite/getstuff").done(
- function(data){
- var observable = kendo.observable(data);
- });
- {
- people: [array of people],
- products: [array of products],
- animals: [array pf animals] //etc
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement