kendo

Kendo saveasexcel dynamically header of excel sheet

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a kendo grid, like this: so a user can select a periode(periode1) and that is the header. and this is the javascript for it: function OngridDatabound(e) { $('.periode1jaar').html($('#Periode1').data('kendoDropDownList').text()); $('.periode2jaar').html($('#Periode2').data('kendoDropDownList').text()); } and this is the javascript for export naar excel : $("#export-excel").click(function () { $("#overzicht-grid").data("kendoGrid").saveAsExcel(); }) But if I look in the excel sheet there is still standing in the header periode1 and not

Using T4MVC and Kendo UI for ASP.NET MVC

匿名 (未验证) 提交于 2019-12-03 08:59:04
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: How to use T4MVC templates with Kendo UI helpers for ASP.NET MVC ? @( Html . Kendo () . Grid < SomeModel >() . Name ( "T4Grid" ) . Columns ( col => { col . Bound ( wf => wf . Name ); col . Bound ( wf => wf . Description ); }) . DataSource ( src => src . Ajax () . Read ( read => read . Action ( MVC . Area . Controller . Action ())))) // <= an error here I have an error message: 'Kendo.Mvc.UI.Fluent.CrudOperationBuilder' does not contain a definition for 'Action' and the best extension method overload 'Kendo.Mvc.UI

How to disable events in Kendo UI scheduler?I just to make it read only

匿名 (未验证) 提交于 2019-12-03 08:54:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How to disable the event in kendo UI scheduler?I study the example from the official website examples,and see all of the cell in event have double click event to create and delete and other events,but now I just use it to show the result,so how to prevent all the create,delete,edit events? 回答1: Use the editable configuration option : $("#scheduler").kendoScheduler({ date: new Date("2013/6/6"), dataSource: [ { start: new Date("2013/6/6 08:00 AM"), end: new Date("2013/6/6 09:00 AM"), title: "Brunch" } ], editable: false }); or if you're using

Shim from grunt-contrib-requirejs not wrapping library

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using requirejs and configuring my product artifacts, thus combining my libraries and setting up module dependencies between them to get the loading sequence appropriate using the grunt task for requirejs. I have no problem using runtime module injection while in my livereload server which has access to non-combined libraries. For the sake of clarity I have disabled all minification/uglification and turned on a js-beautify. requirejs: { dist: { // Options: https://github.com/jrburke/r.js/blob/master/build/example.build.js options: { //

Model binding the sort field from KendoUI Grid

匿名 (未验证) 提交于 2019-12-03 08:46: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. }

Why Is `data(“kendogrid”)` Undefined?

匿名 (未验证) 提交于 2019-12-03 08:44:33
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm a starter in kendo.ui, I've written this code to create kendo.ui.grid @(Html.Kendo().Grid<BrandViewModel>(Model) .Name("Grid") .Columns(columns => { columns.Bound(p => p.BrandName); columns.Bound(p => p.BrandAbbr); columns.Bound(p => p.SrcImage); columns.Command(command => command.Custom("Edit").Click("editItem")); }) .DataSource(dataSource => dataSource .Ajax() .Read(read => read.Action("CustomCommand_Read", "Brand")) .Model(model => model.Id(p => p.Id)) ) ) When the user clicks the edit button in grid it will show Edit view in kendo.ui

Can Kendo Grid be always in edit mode?

匿名 (未验证) 提交于 2019-12-03 08:41:19
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Does anyone know if the kendo grid could be always set to edit mode at all times? We don't want the user to click on a cell or a button to activate the edit mode. We want it the widgets to be displayed and available at all times. Is it possible at all? 回答1: Out of the box, not exactly. You can enable Batch editing which displays everything normally, but clicking a cell will switch it to an editor automatically. Example To enable it, set { batch: true } on the table's datasource. Otherwise you're off to some deeper scripting. Checked and

kendo ui mvc grid editortemplate issue

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: What I am trying to do : I have a form with Kendo UI controls like DatePicker(s), Dropdownlist(s), NumericTextBox(s) on the first half of the page Second half has a Kendo UI MVC Grid control This Kendo UI Grid control has 8 columns in which 2 columns has a Kendo dropdownlist(EditorTemplate) and CheckBox(EditorTemplate). The Kendo UI Grid control is Ajax binding. When the save button is clicked, all the values from the Kendo UI controls(first half) and Kendo UI grid control(second half) together are posted as a Json object via "Ajax Post" to

Kendo UI常用示例汇总(六)

半腔热情 提交于 2019-12-03 03:52:17
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 Professional示例二十四:选择 Kendo UI网格通过它的选择属性支持指定配置进行选择,这使得最终用户可以在网格表中选择行或单元格来处理数据。另附源代码供大家参考! Kendo UI Professional示例二十五:聚合 Kendo UI grid支持聚合函数,用户可以在网格组或列的底部看到聚合计算的结果。另附源代码供大家参考! Kendo UI Professional示例二十六:绑定到本地数据 Kendo UI grid支持数据绑定,用户可以从本地数据存储中命令小部件来进行显示。另附源代码供大家参考! Kendo UI Professional示例二十七:绑定到远程数据 Kendo UI grid支持数据绑定,用户可以从远程数据存储中命令小部件来进行显示

Kendo Angular 2 Grid Filter not available

匿名 (未验证) 提交于 2019-12-03 03:08:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using the Kendo Grid with Angular 2 using this http://www.telerik.com/kendo-angular-ui/components/grid/data-binding/ tutorial but I didn't find filtering in the grid. How can I filter my Kendo Grid with Angular 2? 回答1: Filters are not available in current Beta.0 version of kendo-angular2-grid. At present, you can use limited API which are listed here Issue is already reported on telerik's kendo-angular2. Refer this Comment from Telerik member on this filter issue- We don't have a concrete timeline for the grid filtering feature. There