kendo-ui

KendoUI undefined Node issue when trying to add to root parent node

痞子三分冷 提交于 2019-12-13 01:23:30
问题 I have seen other questions with the same issue , the data seems the be the issue most of the time. I did create a jsfiddle http://jsfiddle.net/gwvoqns8/ (always keep in mind that http has to be used, and not https ) that should demonstrate the problem I want to have whatever is typed into the text box to display as another named node of whatever name... The code I'm using seems to enforce me to selected an existing parent node and i do not want that. Its a bit annoying why it is saying

Add title to kendo ui grid

别等时光非礼了梦想. 提交于 2019-12-13 01:07:00
问题 After researching on the web, i´m facing a problem on adding a title into my grid, so my code is: .html file: <div id="idGridTiposQuartos" class="gridtiposquartos js-var-grid-tipos-quartos"><div id="gridTiposQuartos"></div></div> .js file: $("#idBtnTiposQuarto").click(function() { $("#idGridTiposQuartos").fadeIn(1000); $("#idBtnQuartos").attr("disabled", false); $(".k-grid-toolbar", "#gridTiposQuartos").before("<h1>hello</h1>"); $(".k-grid-toolbar", "#gridTiposQuartos").after("<h1>hello</h1>"

MVC4 Ajax form in partial view returns whole page when inside kendo window

被刻印的时光 ゝ 提交于 2019-12-13 00:36:05
问题 I've searched and searched and for the life of me cannot figure out what I'm doing wrong. I have a Kendo UI window like so: <a id="@(item.POD_ID)" class="k-button btn-reminder" title="Add Reminder" onclick="$('#windowR@(item.POD_ID)').data('kendoWindow').open();"><span class="icon-reminder icon-only btn-reminder"></span></a @(Html.Kendo().Window() .Name("windowR" + item.POD_ID) .Title("Set Reminder") .Content("loading...") .LoadContentFrom("_LoadReminder", "Purchasing", new { id = item.POD_ID

What is the difference between the data and dataSource in knockout-kendo grid widget?

我的未来我决定 提交于 2019-12-13 00:09:55
问题 So knockout-kendo has a option called data and knockout-kendo has a property called dataSource. What's the difference between the two and how do both interact with one another/change when I specify both a data and a datasource on the kendogrid of different values 回答1: As of version 0.6.2, you can pass either the actual data, dataSource config, or an existing Kendo dataSource (kendo.data.DataSource) in for the data option. In older versions, you would sometimes have to pass null for data and

Kendo DatePicker culture not working correctly

允我心安 提交于 2019-12-12 22:59:01
问题 I want to localize Kendo Datepicker to my culture "is-IS" but for some reason it doesn´t work correctly. This is code example: $("#RegisterDatePicker").kendoDatePicker({ start: "month", culture: "is-IS", value: new Date(), format: "dd.MMMM yyyy", events: { change: "registerDatePicker_OnChange" } }); The culture seems to revert to its default localization "en-US". I know this culture should work with Datepicker because whenever I declare the Datepicker within the Razor engine it renders

Get updated Kendo Tree View data source

我怕爱的太早我们不能终老 提交于 2019-12-12 19:45:05
问题 I am showing the tree view with a datasource but after dragging and dropping there will be changes and I have to get that changed new datasource . How do I do that? $.ajax({ type: "POST", url: "TestMenu.aspx/GetMenuData", contentType: "application/json; charset=utf-8", dataType: "json", success: function (data) { $("#treeview").kendoTreeView({ dragAndDrop: true, dataSource: $.parseJSON(data.d) }); } }); 回答1: So, I finally accomplished the task. Posting answer for anyone who's looking for the

Inline editing with conditionally disabled controls

喜欢而已 提交于 2019-12-12 18:49:35
问题 I am using the Telerik Kendo UI grid. I have configured it to use grid inline editing. I have an interesting requirement. One of the columns is a checkbox and this defines whether some of the controls are editable or not. i.e when ticked columns E,F,G are read-only and others are editable. When unticked column B,C are editable and others are read-only. I have successfully implemented this but I would like to improve it. I have implemented it so that the controls are disabled. However, I would

How to refresh a grid and chart

杀马特。学长 韩版系。学妹 提交于 2019-12-12 18:31:49
问题 Refresh the grid and chart when clicking the refresh button in kendo ui 回答1: One of these should be what you are looking for: $('#GridName').data().kendoGrid.dataSource.read(); $('#GridName').data().kendoGrid.refresh(); $('#ChartName').data().kendoChart.dataSource.read(); $('#ChartName').data().kendoChart.refresh(); 来源: https://stackoverflow.com/questions/14029364/how-to-refresh-a-grid-and-chart

Kendo UI Editor Events in Angularjs

守給你的承諾、 提交于 2019-12-12 17:45:31
问题 How do I get the event properties from the events in Kendo UI Editor? I've taken the code from the KendoDemo download and edited it a bit to get the events for k-on-change and k-on-keydown . The events are described here. <div id="example" ng-app="KendoDemos"> <div ng-controller="MyCtrl"> <textarea kendo-editor k-ng-model="html" k-on-keydown="keydown(e)" k-on-change="onChange(e)"></textarea> </div> </div> <script> angular.module("KendoDemos", [ "kendo.directives", "ngSanitize" ]) .controller(

How to load huge of data in kendo grid

别等时光非礼了梦想. 提交于 2019-12-12 16:40:58
问题 web method: <WebMethod()> Public Shared Function Pcpacking() As IEnumerable(Of Packing) Dim db As New STOREEntities Return db.PC_PACKING_HISTORIES. _ Where(Function(q) q.PACK_DATE > "1388/11/07"). _ Select(Function(q) New Packing _ With {.Packdate = q.PACK_DATE, .Packserialnumber = q.PACK_SERIAL_NUMBER, .Netweight = q.NET_WEIGHT, .Packusername = q.PACK_USER_NAME}).ToList() End Function script: $(function () { $("#grid").kendoGrid({ height: 200, columns: [ { field: "Packserialnumber", width: