Telerik Forums
Kendo UI for jQuery Forum
4 answers
417 views
Hi

In following example, how can I add a simple text input field in the resources for the popup edit (or create new) rather than a dropdown field?

http://dojo.telerik.com/UkaxO/3

resources: [
    {
      field: "textinupt",
      ....???
    }
  ]

Many thanks
Vladimir Iliev
Telerik team
 answered on 03 Feb 2017
3 answers
489 views
Please suggest me that Is there any possibility of working Mouse 'On Click' events with the Kendo UI shapes.Please find the attachment of Kendo UI diagram having Shapes on it filled with color.
Eduardo Serra
Telerik team
 answered on 02 Feb 2017
1 answer
632 views

I have extended the Date Widget into my own implementation by following the online examples.  All is working nicely pretty much.

The issue I have is when the Widget is initialized twice.  We get this in production with some Anthem based controls which handle the postback and update (not Ajax). 

But I can recreate this issue simply by having the date picker on a html page with a button that calls the initialize twice.  I have created the following dojo example:

http://dojo.telerik.com/@andez2000/eHEZA/31

If you click the "Init Date Picker" button after you run the example, the width of the widget changes to 100% - not what I asked for...  You can see this getting fired inside of kendo. 

Is there a nice way not to reinitialize the date picker under these circumstances.  Ideally if I could handle this inside of kendoExtendedDatePicker.init would be good.

Thanks

 

 

 

 

 

 

 

 

Alex Hajigeorgieva
Telerik team
 answered on 02 Feb 2017
3 answers
92 views
Hey just a quick thing,

I tried to use a kendo.View fed by html containing kendo-template expressions:
   
 var viewModel = kendo.observable({       
        test: '123'
 }); 
var
myFailedView = new kendo.View('<span data-bind="text: test"></span> #: location.href #', { model:viewModel, evalTemplate: true });

var mySucessfulView = new kendo.View('##<span data-bind="text: test"></span> #: location.href #', { model:viewModel, evalTemplate: true });

I would expect it to render  a span with 123 followed by the current location of the browser. But it only renders the span. If I start with an empty template expression "##" it behaves as expected. Is that a bug or did I miss something in the documentation?

For reference see JsFiddle

Regards,
Kris


http://jsfiddle.net/9y36opsk/

Stefan
Telerik team
 answered on 02 Feb 2017
2 answers
123 views
We are having data with five series out of which plotting only two. User can choose to select a series in place of an existing one in which case I want the chart to redraw only the changed series. As of now it redraws the whole graph including the one which was not changed. It causes confusion in the user if both have been changed for the person using it.
shaneed
Top achievements
Rank 1
 answered on 02 Feb 2017
6 answers
273 views

I want to sort rows and columns by values (not fieldnames).

One way to do that is like it's done by DevExpress (https://demos.devexpress.com/ASPxPivotGridDemos/OLAP/Browser.aspx + see attached screenshot). By right clicking a field i can choose for with field, row, column and measurement i want to sort. But even this solution could be more userfriendly.

Another more direct solution would be to sort by clicking on a measurement field or if there is only one, on a fieldname.

Both are just suggestions. But the functionality of sorting by values is really relevant.

I couldn't find any solution for this build-in in Kendo UI. Therefor this is a feature request/suggestion.

Robert
Top achievements
Rank 1
 answered on 02 Feb 2017
1 answer
276 views

Hi

 

I have a kendo grid that can be changed user method and I have and option that automatically sets the values from a certain column if have a certain conditions.

 

My problem actually is when I do the automatic option, I need to launch the save event, because it validates certain data via server, and I need to access to my custom editor (is a combobox) and change his value and then launch the save event. The problem is if I change the combobox via code, the save event never launches. What I do is:

 

1. Click the "td" that contains the combobox

2. Change the combobox value

3. Click in another place to launch the save event

4. Nothing happens, that column on the grid is actually empty

 

Any ideas what can I do?

Stefan
Telerik team
 answered on 02 Feb 2017
3 answers
105 views
01.buildForm(form) {
02.    const tableLayout = new kendo.Layout('<table class="table table-bordered" id="tbl"></table>' ,{wrap: false});
03. 
04.    for(var i=0;i<form.rows.length;i++) {
05.      const trLayout = new kendo.Layout('<tr id="tbl_row_'+i+'"></tr>' ,{wrap: false});
06.      for(var j=0;j<form.rows[i].cols.length;j++) {
07.        const tdLayout = new kendo.Layout('<td><a href="#" data-bind="click: alertme">'+form.rows[i].cols[j].label+'</a></td>' ,
08.        {
09.          wrap: false,
10.          evalTemplate: true,
11.          model: {
12.            alertme: function() {
13.              console.log('alert!');
14.            }
15.          }
16.        });
17.        trLayout.append('#tbl_row_'+i+, tdLayout);
18.      }
19.      tableLayout.append('#tbl',trLayout);
20.    }
21.    return tableLayout;
22.  }

01.const form = {
02.     rows: [{
03.        cols: [{
04.           label: 'Row 1 Col 1'
05.       }, {
06.           label: 'Row 1 Col 2'
07.       }]
08.     },{
09.        cols: [{
10.           label: 'Row 2 Col 1'
11.       }, {
12.           label: 'Row 2 Col 2'
13.       }]
14.     }]
15.   };

Hi,
I'm trying to append child layouts to a parent layout.
Is it feasible?

I'm using ES6, npm and bower to install kendo ui professional.

Thanks
Stefan
Telerik team
 answered on 02 Feb 2017
1 answer
467 views

My team recently upgraded from 2016.2.504 to 2017.1.118 and we noticed the following issue with formatting 7 (and 10) digit negative numbers, where-in the first group separator is missed.

kendo.toString(-1234567, "\#,0;(\#,0); ") -> "(1234,567)"

2016.2.504 (This works):
http://dojo.telerik.com/IqujA/2

2016.2.607 Slightly newer version breaks it.

http://dojo.telerik.com/IqujA/3

Current version still broken:

http://dojo.telerik.com/IqujA/4

Our issue appears to have introduced with this commit: https://github.com/telerik/kendo-ui-core/commit/17b08eab51d0761e187c849f77fe0db8180e7357

Is this the intentional behavior going forward or a bug?

Stefan
Telerik team
 answered on 01 Feb 2017
3 answers
1.1K+ views

Hi

We  are creating  a pdf using the drawing api which creates a open / save / cancel dialog in the browser allowing the user to open the pdf in Acrobat and then print it. Some users (senior managers) are complaining that this multi stage process is too long (they are used to our windows client app that outputs directly to their local printer). Is there any way we can bypass the first dialog and automatically open the pdf in Acrobat are display the print dialog?

I have see this: http://www.telerik.com/support/kb/reporting/details/print-a-report-directly-at-client-side-without-displaying-it-in-a-viewer

but I don't really understand whether we can use any of it?

 

Any help or suggestions would be gratefully received.

Thanks

James

Marin Bratanov
Telerik team
 answered on 01 Feb 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?