Telerik Forums
Kendo UI for jQuery Forum
1 answer
311 views

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>

Stamo Gochev
Telerik team
 answered on 04 Apr 2017
0 answers
71 views
Hi, I'm new to Kendo UI
I'm facing the problem in Tool tip when it is used with filter is applied for particular range tool tip is not working for each cell.
(I've specified the link here) http://dojo.telerik.com/oLOHA/11 In this link tool tip is not working( for  1st column till 15th row) so I'm not getting the solution for this please guide me about this...
Vinay Kiran S
Top achievements
Rank 1
 asked on 04 Apr 2017
7 answers
277 views

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

 

Stefan
Telerik team
 answered on 04 Apr 2017
1 answer
123 views
Here's my situation:
When a user drags a node from a TreeView and drops it in a grid, I add a column.  That works...  When a user drops a node onto an existing column in the grid, I want to ask the user if they'd like to append that same column or insert a new column to the right of that one...  How can I do this?  

I'm struggling to identify the index of the column the user dropped on, etc...  Make the grid a kendoDropTargetArea?  Make each column its own DropTarget?
Vasil
Telerik team
 answered on 04 Apr 2017
3 answers
243 views

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

 

Magdalena
Telerik team
 answered on 04 Apr 2017
1 answer
446 views

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!

Stefan
Telerik team
 answered on 04 Apr 2017
2 answers
201 views

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

KK60
Top achievements
Rank 1
 answered on 03 Apr 2017
1 answer
105 views

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?

Tsvetina
Telerik team
 answered on 03 Apr 2017
6 answers
246 views
There is a problem in date picker in Firefox version 52: when you navigate to year 2012, all the months after March are March (check the attached screenshot)
Dimiter Topalov
Telerik team
 answered on 03 Apr 2017
1 answer
566 views

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>
Nencho
Telerik team
 answered on 03 Apr 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?