Hello,
I'm trying to open dojo example for diagram intermediate connection points (http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram#configuration-connections.points). However it doesn't work for me (http://dojo.telerik.com/ozIno) as connection is still a straight line (screenshot2.jpg).
Could you please provide a working example of this feature?
Thank you,
Nick

Check the following scenario:
1. Go to the following example: http://dojo.telerik.com/uVInI
2. Add new row, enter its data, and click "Save"
3. Click "Cancel"
The new row which was the first one is now the last one. The "cancelChanges" should not affect the order of the new row

Hi All,
I'm using a ProgressBar for a very long running process. The problem is the bar is updated quite slowly. For instance, when I've processed all of the data items (I use fields to show processed and pending items), the progress bar is showing just a 50% advance. This is more noticeable for longer data sets.
I've set the update delay to 0 (no animation).
Is there anything else I can do to speed it up?
Thank you.
Hi,
We are facing scroll issue while we scroll outside the dropdown. We have attached video to understand the issue.
Following is the code to bind the dropdown and kendo grid:
function bindKendoGrid() {
$(_kendoGrid).kendoGrid({
dataSource: {
schema: {
model: {
fields: {
CourseName: { type: "string", editable: true, validation: { required: true } },
Score: { type: "number", defaultValue: 1, validation: { required: true, min: { value: 1, message: "The score must be between 1 to 100" }, max: { value: 100, message: "The score must be between 1 to 100" } } },
CompletionDate: {
type: "date", title: "Completion Date", validation: {
required: { message: "Completion Date is required" },
Datevalidation: function (input) {
if (input.is("[name='CompletionDate']") && input.val() != "") {
input.attr("data-Datevalidation-msg", "Completion Date is not valid");
var date_regex = /^(([0-9])|([0-2][0-9])|([3][0-1]))\ (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\ \d{4}$/;
return date_regex.test(input.val());
}
return true;
}
}
},
}
}
}
},
batch: true,
pageable: false,
height: 420,
scrollable: true,
toolbar: ["create"],
columns: [
{ field: "CourseName", title: "COURSE NAME", width: "330px", editor: courseDropDownEditor, template: "#=CourseName#" },
{ field: "Score", type: "number", title: "SCORE", width: 230, min: 1, max: 100 },
{ field: "CompletionDate", title: "COMPLETION DATE", type: "date", width: 330, format: "{0:d MMM yyyy}" },
{ command: ["destroy"], title: " ", width: 230 }],
editable: {
createAt: 'bottom'
},
dataBound: gridDataBound
});
}
function courseDropDownEditor(container, options) {
$('<input name="Course Name" id="CourseName" required data-text-field="CourseName" data-value-field="CourseName" data-bind="value:' + options.field + '"/>')
.appendTo(container)
.kendoDropDownList({
autoBind: false,
dataTextField: "CourseName",
dataValueField: "CPETSCourseId",
//optionLabel: "-- Select Course Name --",
dataSource: _CourseList,
'open' : function (e)
{
},
change: function (e) {
var selectedCourse = this.value();
var flag = false;
var cnt = 0;
var gridRowsLength = $(_kendoGrid).data("kendoGrid")._data.length;
for (var i = 0; i < gridRowsLength; i++) {
//if (gridRowsLength > 0 && i <= gridRowsLength - 1) {
var coursename = $(_kendoGrid).data("kendoGrid")._data[i].CourseName;
if (selectedCourse == coursename) {
cnt = parseInt(cnt) + 1;
}
}
if (parseInt(cnt) > 1) {
this.value('');
alert("This course has already selected.");
return false;
}
}
});
}
This is a bizarre issue - I have a grid that works just fine locally for dev but once I publish it to our web server with IIS 7/8 (maybe?) it's not working in any browser. If you weren't go go back and check the data, it would appear as it's working. I receive no console errors, no issues while checking the network tab. When I put a breakpoint in the parametermap , I can clearly see the model data is there with the updated data. I haven't checked insert on the server yet but I can tell you that Update isn't working. I'm not using delete. Read has no issues.
The first part of my web api declaration for this action.
[HttpPost] [Route("Users/InsertUser")] public Int16 InsertUser([FromBody]IEnumerable<vw_Users_GetAll> model)
And the portion of code for the grid...
var crudServiceBaseUrl = getBaseURL(), dataSource = new kendo.data.DataSource({ transport: { read: { url: function (options) { return crudServiceBaseUrl + 'api/Users'; }, dataType: "json", type: 'GET', contentType: 'application/json; charset=utf-8' }, create: { url: function (options) { return crudServiceBaseUrl + 'Users/InsertUser'; }, dataType: "json", type: 'POST', contentType: 'application/json; charset=utf-8', complete: function (e) { ReloadUsersGrid(); } }, update: { url: function (options) { return crudServiceBaseUrl + "Users/UpdateUser" }, dataType: "json", type: "PUT", contentType: "application/json; charset=utf-8", complete: function (e) { ReloadUsersGrid(); } }, parameterMap: function (options, operation) { if (operation !== "read" && options.models) { return kendo.stringify(options.models); } } }, batch: true,
I don't understand how this can work locally but not on the server? Can someone please assist? Thanks.

I've have had created a custom view where that allows me to show non-sequential dates, date grouped by resources. (see attached image).
In the attachment I have 2 dates (12/7 and 12/9) and 2 resources (AU01, AU40). In it's current version the columns are always the cross product of the dates x resources. Eg. 12/7 has a column for au01, au40 and 12/9 has a column for au01, au40.
I would like to create a customized version where the columns where not necessarily always a cross product of the resource list. For example I could provide the view with a date with specific resources for that date and the resource might be different on different dates.
I might do something like 12/7 => (AU01, AU02) and then on 12/9 => (AU40, AU41). This would give me 4 columnts displayed.
From the research I've done it looks like I'll have to deal with the grouping and createLayout functions in the scheduler view but not really sure where to start. Any direction or help anyone can provide would be greatly appreciated.
Thank you in advance,
Bo Stewart
Was playing around with a previous example... I'd like to generate the columns for the grid based on what is returned from a call to the server.
For example, in the example below
$scope.columns would not actually be hardcoded in the success() function, but rather be assigned to an object which has been returned in response
-Ed
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Kendo UI Snippet</title>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.1028/styles/kendo.common.min.css"/>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.1028/styles/kendo.rtl.min.css"/>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.1028/styles/kendo.silver.min.css"/>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.1028/styles/kendo.mobile.all.min.css"/>
<script src="http://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2016.3.1028/js/angular.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2016.3.1028/js/kendo.all.min.js"></script>
</head>
<body>
<div ng-app="app" ng-controller="MyCtrl">
<div kendo-grid k-options="gridOptions" k-ng-delay="gridOptions"></div>
</div>
<script>
angular.module("app", ["kendo.directives"]).controller("MyCtrl", function($scope, $http) {
$scope.columns=[ { field: "ProductID" }, { field: "ProductName" } ];
$scope.gridOptions = {
columns: $scope.columns,
pageable: true,
dataSource: {
pageSize: 5,
transport: {
read: function (e) {
$http.jsonp('http://demos.telerik.com/kendo-ui/service/Products?callback=JSON_CALLBACK')
.then(function success(response) {
$scope.columns=[{field: "ProductID"}];
e.success(response.data)
}, function error(response) {
alert('something went wrong')
console.log(response);
})
}
}
}
}
});
</script>
</body>
</html>