Skip to content

Instantly share code, notes, and snippets.

@vinayvpg
vinayvpg / demoMVVMWithODataUrl.js
Last active August 29, 2015 14:24
Can do with Kendo - The Master Detail
$(document).ready(function () {
var mainVM = kendo.observable({
serviceUrl: "http://myodataserviceurl.svc",
gridVisible: false,
categoryDS: [
{ type: "All", value: "0" },
{ type: "Rigs", value: "1" },
{ type: "Warehouses", value: "2" },
{ type: "Special Crews", value: "3" }
],