kendo

Tooltip Template Formating in Kendo-UI

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have the following code, and initially my data consists only x and y values, however, once I added another value which is k but it stopped working. I am planning to display k value as an additional information into tooltip. Does anybody has any idea? function createChart() { $("#chart") .kendoChart({ xAxis: {}, yAxis: {}, seriesDefaults: {type: "scatterLine" }, series: [{data: stats}], tooltip:{visible:true,template: "#= myTooltip(value) # "} }); } function myTooltip(value) { return Math.abs(value.x) + ", "+Math.abs(value.y)+","+Math.abs

Get record count in Kendo Grid after dataSource.read

匿名 (未验证) 提交于 2019-12-03 01:08:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to be able to push the record count from my Kendo grid after read (refresh). Here is my Kendo Grid: My Controller action: public ActionResult PopulateSearchWindow([DataSourceRequest] DataSourceRequest request, string option, string searchText, string searchDesc) { try { var derps= _idg.SearchItems(searchText, searchDesc, _adg.OrganizationCode).ToList(); return Json(derps.ToDataSourceResult(request, ModelState)); } catch (Exception e) { ModelState.AddModelError("ExceptionErrors", e.Message); return Json(new List ().ToDataSourceResult

Kendo MVVM and binding or extending custom events

匿名 (未验证) 提交于 2019-12-03 01:06:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have a ComboBox in my page and I want to bind keypress event to my Kendo ComboBox when the cliend writes down any letter. As I understand kendo doesn't have any keypress event on ComboBox. I've found that kendo has something like this to bind values and functions: kendo . data . binders . slide = kendo . data . Binder . extend ({ refresh : function () { var value = this . bindings [ "slide" ]. get (); if ( value ) { $ ( this . element ). slideDown (); } else { $ ( this . element ). slideUp (); } } }); Source: Click Here But the

Getting Current Data from KendoUI TreeView

匿名 (未验证) 提交于 2019-12-03 01:02:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm using a kendo UI tree with a remote data source from a JSON file. I have a button on the tree page which gets the current data of the tree,sends it through a POST to a server and the server saves the current data to the JSON file so as the next time I reload the page,the changes I made will be kept.That's what I want to happen. So I know the current data of the tree is in: $ ( "#treeview" ). data ( "kendoTreeView" ). dataSource . data () Which means the data changes real time in there for example when someone drag and drops a

Kendo UI One DataSource for Multiple Grid

匿名 (未验证) 提交于 2019-12-03 01:02:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have an issue with Kendo UI lately, I have 1 datasource and it is used by 3 grids. This is all working but for some reason styling of the grid is "dismantled" for a lack of better word. If I filter the datasource from Grid A, Grid A looks good but Grid B and C would look something like this (don't mind the firstname "Error" in the column): If I filter the datasource from Grid B, Grid B now will look good but Grid A and C will look "dismantled". What could be the problem? Grid A: $('#grid-a').kendoGrid({ autoBind: false, dataSource: emp_ds,

How to get intellisense working for Kendo UI?

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm just starting out with a trial of Kendo UI (2014 Q1), in Visual Studio 2013. I am following one of the walkthrough tutorials, and while the code runs fine, I'm not getting Intellisense for the Kendo objects the way I would expect. Where's the secret switch to get intellisense working? 回答1: Did you verify that the kendo.web.min.intellisense.js file is present in the folder which hosts kendo.web.min.js? I used directions from this topic for my kendo ui projects. 文章来源: How to get intellisense working for Kendo UI?

Handle destroy event in kendo scheduler

匿名 (未验证) 提交于 2019-12-03 00:50:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using a kendo scheduler. There are events added in scheduler grid. On mouse hover of each event a small (x) comes on top right corner. i.e destroy event for that event, which when clicked shows an warning message "Are you sure you want to delete this event?" If clicked Yes it goes ahead and deletes that event. So here is my requirement. As you can see above there are 3 scheduled events in the shown week. I want that, the one circled in blue shouldn't have delete option but the one circled in red should have. In other words, I want to

Kendo Autocomplete with server filtering in Angular, how to?

匿名 (未验证) 提交于 2019-12-03 00:44:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I followed this example which describes basic working with Kendo Autocomplete in AngularJS. Problem is that example works only with local defined data. Could somebody post example how to work with remote JSON data source? Link is: http://demos.telerik.com/kendo-ui/autocomplete/angular Thanks for any advice. 回答1: Just use $http, so something like this: angular . module ( "KendoDemos" , [ "kendo.directives" ]); function MyCtrl ( $scope , $http ){ $http . get ( '/remoteDataSource' ). success ( function ( data ) { $scope . countryNames

移动应用程序框架Kendo UI Mobile发布R2 2016 SP2

a 夏天 提交于 2019-11-29 20:04:51
对于WinPhone8,iOS,Android和黑莓等终端用户,Kendo UI Mobile 创建的应用程序感觉就像原生应用程序。仅使用HTML5和JavaScript,通过一个简单的UI代码库便可支持大多数手机和平板电脑平台。从2014版开始Kendo UI Mobile已纳入全新升级的 Kendo UI Professional 中。 快速创建Web应用程序可选择 Kendo UI Web 新手必看: Kendo UI入门视频教程集合 Telerik最新发布Kendo UI开源版: Kendo UI Core 下载最新版Kendo UI Mobile>>> 具体更新内容如下: 新增: 当数据类别轴设置显示小时的时候DST更改包含额外的小时 当输出为VML时只限制ValueAxis 选项设置为null或未定义时setOptions将会清除最初设定的值 如果pan方法被调用时没有参数,那么将会返回pan的偏移 当使用自定义提示时支持自动滚动 Bubble layer demo被分解 当前时间标记不扩展到内容的全宽度/高度上 新增重试和恢复按钮到错误对话框中 修复: 在悬停时禁用Radio Button错误样式 修复Material主题中RTL模式下复选框高亮错误的问题 修复当绑定到复杂未定义的对象上时Widget抛出的一个异常 其他一些小的修复 购买最新版Kendo UI

Kendo UI常用示例汇总(十四)

不打扰是莪最后的温柔 提交于 2019-11-28 21:55:35
Kendo UI Professional 提供开源和商业两个版本。开源版 Kendo UI Core ,有40+个框架和组件;商业版整合了之前的 Kendo UI Web 、 Kendo UI Mobile 和 Kendo UI DataViz ,一共有70+个框架和组件。作为Kendo UI的升级版,Kendo UI Professional既可以开发网页版应用程序,也可以开发移动版应用程序,并且在性能上也有显著的优化和提升。 Kendo UI Professional试用版下载猛戳 >> Kendo UI折线图示例七:对数轴 本示例主要演示了如何通过设置valueAxis -> type = "log"来使用Kendo UI折线图的对数轴。另附源代码供大家参考! Kendo UI折线图示例八:多轴 Telerik Kendo UI折线图支持多轴。另附源代码供大家参考! Kendo UI折线图示例九:注释 本示例主要演示了如何为折线图的最大和最小值添加注释。另附源代码供大家参考! Kendo UI折线图示例十:误差线 本示例主要展示了如何使用Kendo UI折线图的误差线功能来显示特征数据的变化。另附源代码供大家参考! Kendo UI折线图示例十一:自定义视觉效果 您可以通过利用Kendo Drawing API来实现自定义折线图标记和高亮。另附源代码供大家参考! Kendo