angular-kendo

How to format date in Angular Kendo Grid

删除回忆录丶 提交于 2020-01-14 12:35:47
问题 I working on Angular Kendo Grid and I am getting server data in format 1900-01-01T00:00:00 But I want it to display in standard format, not sure how to do it. I have applied format='{0:MM/dd/yyyy h:mm a}' in grid column but no effect. What ever data format conversion to do, I need to do at client side of code i.e server date to javascript format!! <kendo-grid-column field="mydata.openDate" width="220" title="Open Date" filter="date" format='{0:MM/dd/yyyy h:mm a}'> </kendo-grid-column> 回答1:

Changing Angular model to update Kendo

荒凉一梦 提交于 2019-12-30 11:14:13
问题 I've been using Angular for a project and just recently found out about the Kendo-Angular project over at http://kendo-labs.github.io/angular-kendo/#/. I was successful in adding Angular-Kendo into my project and it's working like I think it should with the exception of updating models like I'm used to. This project is exactly what I am looking for, however, no examples in the documentation actually show you being able to update an Angular model so it updates a Kendo data source. Here is a

Kendo scheduler resources paging

[亡魂溺海] 提交于 2019-12-29 08:15:09
问题 in kendo scheduler control am using group header template and would like to make a paging in my resources view http://dojo.telerik.com/IMUjA this example has 2 only resources if I would like to add 2 another resources I want to show only 2 resources per page and would like to have next/prev buttons to change resources viewed as paging in scheduler displaying 回答1: I want something such as the example I made in this link: dojo.telerik.com/uBigO/4 I would like to control my resources to view

Angular $location.path not working as expected

假如想象 提交于 2019-12-25 16:02:54
问题 I am triggering a URL change using $location.path with parameters, however those parameters are NOT getting passed to the target page. My source page is sidebar.html, and my target page is dashboard.html. In my sidebar.html I render a Kendo UI treeview widget as follows : <span id="treeview" kendo-tree-view="tree" style="color:white;" k-template="vm.treeItemTemplate" k-options="vm.treeOptions" k-data-source="vm.reportsTree" k-on-change="vm.onTreeSelect(kendoEvent)"> </span> and in my sidebar

Angular $location.path not working as expected

时光怂恿深爱的人放手 提交于 2019-12-25 16:02:00
问题 I am triggering a URL change using $location.path with parameters, however those parameters are NOT getting passed to the target page. My source page is sidebar.html, and my target page is dashboard.html. In my sidebar.html I render a Kendo UI treeview widget as follows : <span id="treeview" kendo-tree-view="tree" style="color:white;" k-template="vm.treeItemTemplate" k-options="vm.treeOptions" k-data-source="vm.reportsTree" k-on-change="vm.onTreeSelect(kendoEvent)"> </span> and in my sidebar

Angular Kendo Drop down

主宰稳场 提交于 2019-12-12 16:08:55
问题 I am using angular-kendo ui for a number of components but have encountered an issue which I can't seem to resolve. I have the following angular select which works fine and binds the selected value to the ng-model correctly. <select ng-model="link.CompanyId" ng-options="obj.Id as obj.Name for obj in link.PossibleCompanies"></select> Then I add the kendo-drop-down-list argument to convert it to a Kendo DD and it stops binding the selected value of ng-model. <select kendo-drop-down-list ng

hide and show columns- kendo grid

大兔子大兔子 提交于 2019-12-12 04:56:57
问题 How to hide and show columns of kendo grid without using jquery? here is the js fiddle link for the example: http://jsfiddle.net/tmLmk/7/ HTML code: <div ng-controller="GridController"> <div kendo-grid k-options="options" k-data-source="sData"></div> </div> JS code: angular.module('angular-kendo-example', ['kendo.directives']); function GridController($scope) { $scope.options = { sortable: true, pageable: true, columns: [{ field: "column1", title: "column 1", width: "40px" },{ field: "column2

how can I use same data source for Kendo chart and kendo multi select?

谁说胖子不能爱 提交于 2019-12-12 04:34:31
问题 I am using kendo angular chart and multiselect. Right now I am call same api twice to load the data in both. Is there any way to define multiple schema in same api call? My data is like following { "List": [ { "Name": "xyz", "Activation": "2016-12-08", "End": "2016-12-09", "Run": "45", "Status": "FAILURE", "color": "red" }, { "Name": "wqe", "Activation": "2016-12-07", "End": "2016-12-08", "Run": "46", "Status": "FAILURE", "color": "red" } ], "NameList": [ { "Name": "joo" }, { "Name": "foo" },

kendo-ui notification scope variable not set in Angular controller

北慕城南 提交于 2019-12-11 07:04:10
问题 I've noticed this issue with other kendo-ui controls, but I'll ask specifically about kendo-notification. My html has: <span kendo-notification="vm.notifier"></span> <button ng-click="vm.push()">Push it</button> In my controller I have: (function () { 'use strict'; angular .module('app.layout') .controller('Shell', Shell); function Shell() { /*jshint validthis: true */ var vm = this; vm.push = push; activate(); function activate() { vm.notifier.show('Loaded', 'info'); } function push() { vm

AngularJS Kendo Treeview not updating

自作多情 提交于 2019-12-10 23:56:53
问题 Thanks to the answer from "Words Like Jared" at Angularjs + kendo-ui treeview, I got my treeview working and everything was fine. Until - someone wanted to update/filter the treeview based on checkboxes and the like. My problem is that the tree does not update to reflect the change in the datasource made in the controller. Based on the jsfiddle in the answer mentioned above, I have created one to show my problem. http://jsfiddle.net/rajeshmathew/LwDs5/ if ($scope.showLimitedRecords) { $scope