kendo-ui

kendogrid filter menu closing on mouseleave

天涯浪子 提交于 2019-12-07 04:54:57
问题 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 回答1

how to get the reference for checkbox element from both parent and child grids

人走茶凉 提交于 2019-12-07 04:38:04
问题 I have got requirement like i need to find the parent grid row checkbox and if parent grid row checkbox is checked then i need to set all child grid checkboxes to true for that parent grid row checkbox for that purpose I have done like this.... <script type="text/javascript"> $(document).ready(function () { $('#btnMove').click(function () { var parentgrid = $('#GridParent').data('kendoGrid'); var childGrid = $('#GridParent').closest(".k-grid").data("kendoGrid"); var Count = $('#Gridparent')

Kendo UI treeview parent node without checkbox

狂风中的少年 提交于 2019-12-07 03:58:50
问题 What approach will be to achieve displaying TreeView with checkboxs but I do not need checkbox for parents node only for "items" without children. i.e. I am displaying folder structure but do not want to have checkbox for any folder only for files. Thanks. 回答1: You should use use checkbox template. If there are not children do not display checkbox input at all. Here is a JSBIN example what I am talking about. 来源: https://stackoverflow.com/questions/13847237/kendo-ui-treeview-parent-node

Post Kendo Grid data to Controller in MVC

白昼怎懂夜的黑 提交于 2019-12-07 03:39:09
问题 I have two classes. One that contains a list of the other class: public string Name { get; set; } public string Surname { get; set; } public int Age { get; set; } public List<Models.Occupation> Occupations { get; set; } The second class is as follows public string Name { get; set; } public string Industry { get; set; } My controller rendering the view Person p = new Person() { Name = "megan", Surname = "du Preez", Id = 0, Age = 22 }; return View(p); In the view @model Models.Person <form id=

Kendo-Knockout: How to center window

早过忘川 提交于 2019-12-07 03:21:06
问题 I am using RPNiemeyer`s kendo-knockout library. I have a kendo window which I use like this in the html: <div data-bind="kendoWindow: { isOpen: isOpen, title:'States', width: 600, height: 150, modal: true, resizable: false, actions: ['Maximize', 'Close'] }" > </div> I used to center the dialog like this: $('#productionStates').data("kendoWindow").center(); But as center is a method I cannot pass it in the markup like this center: true . In the kendo-knockout documentation there is a property

Give kendo datasource an angular scope variable

泄露秘密 提交于 2019-12-07 03:01:26
问题 I'm currently trying to fill a kendo grid with remote data. Kendo has its own function to fetch the data, but I want to use the angular factory which I created. So I have a factory, which has a function "getSkills". This function obtains all the skill objects from my api. angular.module('MyApp').factory('Factory', function ($resource) { return $resource('/api/v1/skills/', { }, { getSkills: { method: 'GET', isArray: true } }); }); In my SkillController in angular, I put these fetched skills in

How to retrieve all data of a kendo ui dropdown list?

自闭症网瘾萝莉.ら 提交于 2019-12-07 02:48:31
问题 I want to pull all data of a kendo dropdown list. I create dropdown with this code: $("#dropDownList").kendoDropDownList({ dataTextField: "field", autoBind: true, dataSource: { transport: { type: "POST", read: { url: "http://abc.com", contentType: "application/json; charset=utf-8", dataType: "json" } } }, select: onSelect }); }; Then I tried to pull data with using var data = $("#dropDownList").data("kendoDropDownList").val(); var values = []; for (var item in data) { values.push(this.item);

Kendo UI Icons not displayed in Web browser control

夙愿已清 提交于 2019-12-07 02:44:29
I have a website developed using Kendo UI(kendoui.professional.2017.1.118.commercial). The Kendo icons(Grid Edit(k-i-edit) and delete command button icons and calendar control icons and grid pager icons, etc.) are not visible when i open my website in Microsoft Browser Control where as if i open the website in Internet Explorer browser the icons are displayed. Observed the following: I am using Windows Server 2012 R2 OS where the IE Enhanced Security Configuration is "ON". If i make this "OFF", able to see the icons in the Web Browser control. Is there any workaround to display the icons in

Kendo UI Icons not displayed in Web browser control

可紊 提交于 2019-12-07 02:43:43
I have a website developed using Kendo UI(kendoui.professional.2017.1.118.commercial). The Kendo icons(Grid Edit(k-i-edit) and delete command button icons and calendar control icons and grid pager icons, etc.) are not visible when i open my website in Microsoft Browser Control where as if i open the website in Internet Explorer browser the icons are displayed. Observed the following: I am using Windows Server 2012 R2 OS where the IE Enhanced Security Configuration is "ON". If i make this "OFF", able to see the icons in the Web Browser control. Is there any workaround to display the icons in

date changes on export kendoGrid

冷暖自知 提交于 2019-12-07 02:43:27
I have this table made with kendoUI, When user export the table to excel, all dates values change, the issue appears only in chrome, firefox works fine. You can try the runnable on this link var localData=[ {cliente:'COMERCIALIZACION',lote:1323,calidad:'PRIMERAS',fecha:'2017-07-07',sacos:10}, {cliente:'COMERCIALIZACION',lote:1324,calidad:'PRIMERAS',fecha:'2017-07-07',sacos:80},{cliente:'COMERCIALIZACION',lote:1325,calidad:'PRIMERAS',fecha:'2017-07-07',sacos:29}, {cliente:'COMERCIALIZACION',lote:1326,calidad:'PRIMERAS',fecha:'2017-07-07',sacos:5}]; The problem is most likely caused by