kendo-ui

KendoUI chart - how do I show animation while loading data?

你离开我真会死。 提交于 2019-12-05 16:23:34
问题 I have a KendoUI chart generated with JavaScript. Is there a way to clear the plotArea with a command? For the purpose of showing a "Loading..." image while waiting for a DataSource to read remote data. Thanks 回答1: Displaying and hiding the loading animation is: // Display progress kendo.ui.progress($("#loading"), true); // Hide progress kendo.ui.progress($("#loading"), false); Then you should use requestStart and requestEnd events in the DataSource for knowing when to show or hide the

Chrome//kendoUI/jQuery: Maximum call stack size exceeded

时光怂恿深爱的人放手 提交于 2019-12-05 15:53:15
I am working hottowell template to create spa application and I am getting a nice error from jquery. Basically my problem start at the moment to try bind my view from viewModelBinder.js (from durandal library). viewModelBinder.beforeBind(obj, view); action(); viewModelBinder.afterBind(obj, view); at the moment to call beforeBind this code is executed (main.js of my own app) kendo.ns = "kendo-"; viewModelBinder.beforeBind = function (obj, view) { kendo.bind(view, obj.viewModel || obj); }; where kendo.bind is something like (kendo.web.js from kendo ui library): function bind(dom, object) { var

How to extend scheduler agenda view to include additional column

心不动则不痛 提交于 2019-12-05 15:52:57
I am using Kendo Scheduler control. By default it is showing "Date","Time" and "Event" in the "Agenda" view. How to extend scheduler agenda view to include additional column as shown in attached image? I tried templates as shown below. <script id="event-template" type="text/x-kendo-template"> <button class="edit-event" data-uid="#=uid#">Custom Column</button> <div>Notes: #: notes#</div> </div> </script> and in Kendo initialization,i added below code views: [ { type: "agenda", eventTemplate: $("#event-template").html() }, ], But it did not render as expected :( I tried below url Kendo Forum

How to unselect the grid record in kendoui

冷暖自知 提交于 2019-12-05 14:23:36
问题 I am selecting the listview record on databound event. I have written the following code in databound var grid = $("#grid").data("kendoGrid"); grid.select(grid.tbody.find(">tr:first")); Now i want to deselect the grid dynamically. How can I do that? 回答1: Use clearSelection: var grid = $("#grid").data("kendoGrid"); grid.clearSelection(); 回答2: kendo grid has a property called selectable:true ..this would select the entire row when clicked upon and to de-select the row simply press ctrl+the row

Deployement not Rendering KendoUI

左心房为你撑大大i 提交于 2019-12-05 13:16:36
VS2012 asp.net MVC4 c#, Internet Application with KendoUI Implementation. The easiest way to say it is that My website looks like this localy on the Development machine: And like this deployed: I have checked sever KendoUI forums, all of them pointing to Images missing... I checked and even copied over my deployment files, Files and Images are there, KendoUI Scripts are there. Any ideas what I could be missing? This means that for some reason the Kendo JavaScript or CSS files are missing on your deployment server. You can verify this by checking your browser's developer console (the "Network"

kendogrid filter menu closing on mouseleave

╄→尐↘猪︶ㄣ 提交于 2019-12-05 12:25:59
in a kendogrid with kendogrid.columnMenu: true like this http://jsbin.com/AsEtoDik/2 there's a very annoying behavior: when you try to set a filter and the mouse goes out of the filter panel, it closes. It happens a lot especially filtering on a date column. I guess this is intended but it's not very user friendly. I thought about setting a timer after the mouseleave event, delaying the closure of the menu, in jQuery but it looks rather difficult and I'd appreciate some help or suggestion You can disable this behavior by replacing the Kendo Menu _mouseleave method (before you create the first

Kendo-Grid column field validation

六眼飞鱼酱① 提交于 2019-12-05 09:52:37
I am working on populating kendo--grid with APIs data but on adding validation on one field is automatically working for every other fields too. Here is schema inside kendo-dataSource : schema: { model: { id : "id", fields: { id: { editable: false, type: 'number'}, name: { editable: true, type : "string" }, unique_url: { editable: true , type: 'string'}, image_url : { editable: true, type : "string" }, title: {type : "string", validation: { required: true, validateTitle: function (input) { console.log("I am inside validation",input.val()); if (input.val().length > 5) { input.attr("data

Kendo Grid: Getting widget instance in Angular

喜夏-厌秋 提交于 2019-12-05 09:46:51
I was trying to get an instance of the Kendo grid within my Angular Controller, so I can try and hook up to some events (and call methods) I know this is probably not best practice (and should probably use a custom directive), but according to the documentation , we should be able to use... <div ng-app="app" ng-controller="MyCtrl"> <input kendo-datepicker="datePicker" k-on-change="onChange()"> </div> <script> angular.module("app", [ "kendo.directives" ]).controller("MyCtrl", function($scope) { $scope.onChange = function() { alert($scope.datePicker.value()); }; }); So, I was trying to do the

Selecting/actioning items in Kendo UI widgets using Excel VBA

坚强是说给别人听的谎言 提交于 2019-12-05 09:43:24
问题 Stuck - Need help ! I'm trying to automate actioning items in an IE web page on our internal company site. I'm able to fill out any kind of text object , click on a submit button etc., but several items are either in a grid/table (Kendo Grid) or a dropdown list. I just can't seem to figure out how to select from these grids/tables or dropdowns. I've tried everything I can think of, to no avail. I've used getElementById() , getElementsByTagName() , getElementsByName() , and even some web

Model binding the sort field from KendoUI Grid

天大地大妈咪最大 提交于 2019-12-05 09:27:08
I'm using KendoUI Grid to show data. I have server paging working like a charm. The each page change in the kendo grid is a new ajax request to the server and the server returns the correct page of data. I am now trying to do server-side sorting, but I'm having trouble getting model binding to bind to the sort values. This is what the request from the Kendo Grid looks like: My action method looks like this: public JsonResult GetReports(int pageSize, int skip, List<KendoSort> sort) { // sort is not being populated with the right data. } KendoSort is a custom class: public class KendoSort {