kendo-ui

Is there a way to change the position of validation message

让人想犯罪 __ 提交于 2019-12-08 02:05:51
问题 Although the validation messages in my project are positioned properly (just on the right side) for Textbox, Dropdownlist, etc. one of them is positioned on the left bottom for Editor and the position cannot be changed. So, is there a way to change the position of validation message for the Editor? I just want to change position of the validation message right side to the editor while not touching the position of the other controls. Any help would be appreciated. View: <script type="text

Kendo UI Grid editable manual dataItem.set() slow/delay

巧了我就是萌 提交于 2019-12-08 01:50:30
问题 I have an editable Kendo Grid that may have a column with a checkbox to change a boolean value. I have used this solution proposed by OnaBai that is working perfectly! The only problem is that the checkbox value change is too slow. When user clicks it, it takes about 1 second to change. I realize that the dataItem.set() method is responsible by this delay. My grid has a considerable amount of data. About 30-40 columns and 300+ lines. It is defined as follows: $("#mainGrid").kendoGrid({

How change the background colour of the kendo ui datepicker using css [duplicate]

白昼怎懂夜的黑 提交于 2019-12-08 01:20:15
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Kendo ui picker css issue I want to change the background colour of the selected state in kendo ui date picker. I have written the code like k.datepicker .k-state-selected { background-color: blue; } but the colour is not changing. How can i do that Regards, sri 回答1: Use: .k-calendar .k-state-selected { background: blue; } instead 回答2: Can you use jQuery? It's easy to handle the focus event: $("#datePicker")

Not able to call function in typescript from kendo template in kendotreelist

为君一笑 提交于 2019-12-08 00:19:44
问题 Kendo TreeList code in class A (typescript file): I have given call to a function from kendo template. export class A{ drillDownDataSource: any; constructor() { this.GetStatutoryIncomeGridViewData(); } GetStatutoryIncomeGridViewData() { $.ajax({ type: 'POST', url: 'Controller/Action/', data: stfilterData, success: function (data) { $("#grid").kendoTreeList({ dataSource: data, columns: [ { field: "Transaction1", template:kendo.template("#=FormatNumberToEn(Transaction1)#").bind(this) }, } }); }

kendo bar chart colors of categories

霸气de小男生 提交于 2019-12-08 00:07:48
问题 Please see here: http://jsbin.com/teveza/edit?html,output Basically I'm trying to have two horisontal bars for comparison. I want them to have a categoryAxis title and have different colors. And I cannot get both. So far the closest I can get is this: { seriesColors: ["red", "green"], "seriesDefaults": { "type": "bar" }, series: [ { data: [2,3] }, ], categoryAxis:{ categories:["Red Category","Green Category"], lables:{ visible:true, } } } So.... any pointers on how to do that will be

DatePicker format issue

北战南征 提交于 2019-12-08 00:06:51
问题 I'm trying to use Kendo UI DatePicker @(Html.Kendo().DatePickerFor(model => model.CalledInAt).Format("dd/MM/yyyy HH:mm tt").Value(DateTime.Now).HtmlAttributes(new { @style = "width:205px" })) I'm using ASP.NET MVC 4 with entity framework. when i try to submit a form it gives me the error. "The value '19/09/2013 04:08 AM' is not valid for CalledInAt" If i change the format to dd/MM/yyyy then it works. something like below works. @(Html.Kendo().DatePickerFor(model => model.CalledInAt).Format(

How to show Qr Code in Kendo Grid?

南笙酒味 提交于 2019-12-07 22:39:28
问题 This is my div but it outside kendo grid <div> <div id="qrUrl"></div> </div> This is my kendo grid field columns: [ { field: "Id", }, { title: "QrCode", width: 300, template: function(dataItem) { $(#Qrurl).kendoQRCode({ value: "www.google.com"+ dataItem.Id, errorCorrection: "M", size: 120, border: { color: "#000000", width: 5 } }); } In this situation my Qrcode generated outside grid with uniq (url+id ) but i want to this all qrcode in my kendo grid. i tried servel time this and another code

Is there a GUI designer for Kendo? [closed]

浪子不回头ぞ 提交于 2019-12-07 20:40:30
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Does Kendo have anything for designing placement of controls like Sencha Architect for Ext JS? Not just an IDE like WebStorm that makes typing the JavaScript easy, but one that does drag & drop for laying out controls? 回答1: Not yet. But this is definitely in our long-term plans and we are working in this

AngularJS Kendo Grid Paging is always Zero

≡放荡痞女 提交于 2019-12-07 18:43:49
问题 I am trying to manage server side paging but my paging for kendo grid is always 0. My Code is : Index.cshtml <div ng-controller="telerikGridController"> <div id="grid" kendo-grid k-options="mainGridOptions"></div> </div> ASP.NET MVC JsonResult: Data Returned by Above JsonResult is : AggregateResults: null Data: [{DeptId: 1, DepartmentName: "Information Technology", Country:"Pakistan", City: "Lahore",…},…] 0: {DeptId: 1, DepartmentName: "Information Technology", Country: "Pakistan", City:

Kendo Grid inline edit with Datetime DatePickerFor

久未见 提交于 2019-12-07 18:26:11
问题 kendo inline cell edit not support for datetime format. I need "dd/MMM/yyyy" data format but kendo grid shows "the filed date must be a date" error. can you please advice me to what to do 回答1: You can use a custom editor to do this. References: Grid Custom Editing DatePicker.format Date Formatting The code would look something like this (not tested, but it should be close enough to give you the right idea): var customDateEditor = function (container, options) { $('<input />') .appendTo