Can someone explain why the transform is not being applied to the shape?
The second (red) square should be half the size of the first (blue) square.
http://dojo.telerik.com/@Harold@/IqoFa
<!DOCTYPE html>
<html>
<head>
<title>TransformScale</title>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.default.min.css">
<script src="http://code.jquery.com/jquery-1.12.3.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2016.3.914/js/angular.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2016.3.914/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.rtl.min.css">
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.mobile.all.min.css">
<script src="http://kendo.cdn.telerik.com/2016.3.914/js/jszip.min.js"></script>
</head>
<body>
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram();
var diagram = $("#diagram").getKendoDiagram();
// Shape 1 (blue)
var shape = new kendo.dataviz.diagram.Shape({ type: "rectangle", x: 10, y: 10, width: 200, height: 200, fill: "blue" });
diagram.addShape(shape);
// Shape 2 (red)
shape = new kendo.dataviz.diagram.Shape({ type: "rectangle", x: 10, y: 300, width: 200, height: 200, fill: "red" });
var geom = kendo.geometry;
shape.transform = geom.transform().scale(.5);
diagram.addShape(shape);
</script>
</body>
</html>
is it possible to calculate how many lines there should be in the initial pagesize from the gridsize so I can at least initialize the grid without a scrollbar ?
A more advanced question would resize the pagesize depending on how large the browser is and follow its resizing, this might require a refresh of its data Im not sure.
I have a kendo grid in MVC and I get double scrollbars most of the time, one for the grid and one for the page, slightly annoying.
Regards,
Emil
Ever since we upgraded to Kendo release 2016.3.1118, the context menu wrapping is broken, and is still broken with latest version.
It seems the context menu will wrap item names that's not very long, like "Compare Forecast", like "Save As Excel". The width of context menu is always just slightly narrower than the longest item so it must wrap. Please see the plunk example: https://plnkr.co/edit/EyVABxhVKmgNMxf3ERkk?p=preview
I have a page with several widgets (textboxes and DatePicker) and a grid with filtering enabled. If I click to filter a column on the grid, the filter popup displays without issue. However, if I click on one of the other widgets on the page, while the filter popup is still open, the filter popup closes, but the focus is not changed to the clicked textbox. This behavior occurs regardless of any changes made in the filter popup, just as long as neither the Filter nor Clear buttons are clicked.
Any suggestions on how to get the focus to properly change to the selected widget?
Thanks!
Hi All,
I'm new to RadMap. Can you please let me know how can I find the upper left (or lower right) latitude and longitude of the current map? Is that possible to do so with RadMap? I can do that with MapQuest UI by using getBounds method.
Thanks for your help.
Huy
I have several different styles (colours and widths) of Connections on my diagram.
Although I can adjust the width of the line using stroke width the size of the endcap of the line does not change and effectively disappears and about width 4.
How can I persuade the endcap size (in particular ArrowEnd) to increase?
I am trying to pass the value of the textbox into my datasource so I can pre-filter my AJAX result set. The following code always gives me an empty string for "issueid". The values I am passing for "token" and "rnd" work just fine. Debugging in the console for "$("#kAutoDuplicateId").val()" reveals the textbox value just fine as well.
<
input
id
=
"kAutoDuplicateId"
style
=
"width: 500px;"
/>
<
script
type
=
"text/javascript"
>
$(document).ready(function () {
$("#kAutoDuplicateId").kendoAutoComplete({
minLength: 1,
dataTextField: "Id",
template: 'Service Request ID: #: data.Id # - #: data.RequestType #',
filter: "startswith",
dataSource: {
transport: {
read: {
type: 'POST',
url: '/pages/ajax/searchreports.ashx',
dataType: "json",
data: {
issueid: $("#kAutoDuplicateId").val(),
token: $('#hdnCsrfToken').val(),
rnd: Math.random()
}
}
},
pageSize: 5
},
placeholder: 'Enter the ID...'
});
});
</
script
>