or
$("#workSplitter").kendoSplitter({ orientation: "horizontal", panes: [ { collapsible: false, size: "20%" }, { collapsible: false, size: "80%" } ], resize: function () { window.setTimeout(function () { if (tabExists("Transactions")) { resizeGrid("#mainGrid"); } resizeGrid("#activityGrid"); }, 1); }});function resizeGrid(gridSelector) { var element = $(gridSelector), dataArea = element.find('.k-grid-content'), elementHeight = element.innerHeight(), otherElements = element.children().not('.k-grid-content'), otherElementsHeight = 0; otherElements.each(function () { otherElementsHeight += $(this).outerHeight(); }); dataArea.height(elementHeight - otherElementsHeight);}#workTabs { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: auto; height: auto;}#workTabs > .k-content { position: absolute; top: 34px; bottom: 0; left: 0; right: 0;}$("#search-grid").kendoGrid({ dataSource: { transport: { read: { url: "a URL" } }, schema: { data: "data" } }, columns: [{field:"Name",title:"Name"}]});var testdata = { "data": [{ "Name": "TestY" }] };var searchViewModel = kendo.observable({ init: function () { $("#search-grid").kendoGrid({ dataSource: { data: testdata, /* transport: { read: { url: "a URL" } }, */ schema: { data: "data" } }, columns: [{field:"Name",title:"Name"}] }); }HTTP/1.1 200 OKContent-Length: 27Content-Type: application/JSONServer: Microsoft-IIS/7.5X-Powered-By: ASP.NETDate: Fri, 07 Jun 2013 20:00:59 GMT{"data":[{"Name":"TestY"}]}var MyWidget = kendo.ui.Widget.extend({ init: function(element, options) { kendo.ui.Widget.fn.init.call(this, element, options); console.log(options.myOption); }, options: { name: "MyWidget" }});kendo.ui.plugin(MyWidget);$("#widgetRoot").kendoMyWidget({ myOption: "foo" });<span id="widgetRoot" data-role="mywidget" data-bind="X"></span>01.Project:{02.editable:true,03.validation: {04.custom: function(input) {05.if(input.val()=="") {06.input.attr("data-custom-msg", "Message");07.return false;08.}09.else10.return true;11.}12.}13.} $('#groups').kendoDropDownList({ dataSource: [ { text: "No group", value: "none" }, { text: "By type", value: "type_label" }, { text: "By route", value: "route_label" }, { text: "By status", value: "status_label" } ], dataTextField: "text", dataValueField: "value", select: function(e){ var selectedDataItem = this.dataItem(e.item.index()); set_global_setting ("group_state", dataItem.value);// ... code which depends on selectedDataItem and works this.dataSource } }).data("kendoDropDownList").select(function(dataItem){ return dataItem.value === get_global_setting("group_state"); }); var groups_dropdown = $('#groups').data("kendoDropDownList"); groups_dropdown.trigger("select", {item : groups_dropdown.dataItem()}); // does not work since 'select' event expects 'e.item' as 'li'