Telerik Forums
Kendo UI for jQuery Forum
5 answers
3.5K+ views

It seems that your TextBox control/widget only has the change event handler, so I would like to know how to (natively) extend the TextBox widget adding identical functionality for eg. keyup, keydown etc.

The pattern I'm asking about is this:

kendo.ui.TextBox.extend({ ?? })

So that I can use the event handler in both initialization and after:

$("#myTextBox").kendoTextBox({
    label: "Name",
    value: "Hello World!",
    change: function() { alert("Changed!"); },
    keyup: function() { alert("KeyUp!"); },
});

- AND -

$("#myTextBox").data("kendoTextBox").bind("keyup", function(e) { alert("KeyUp!"); });

I know that I could simply do something like below, but I need to be able to do it on initialization - and I don't think it is as clean as extending the generic way.

$("#myTextBox").bind("keyup", function(e) { alert("KeyUp!"); })

Georgi Denchev
Telerik team
 answered on 26 Jan 2021
1 answer
90 views

Hi team,

 

I am new to kendo grid.We are using Kendo jquery for our application.We face a problem in paging of the Grid.

Normal paging design is in attachment  file name "1".But at some time grid paging changed to Attachment "2"(it is the some grid in file "1" after successful insert of record).When we press f12 or if we move the window.it set back to older paging design.This is happening in different scenario all pages in my application.Can any one help on this please.

If you see file name "1.png",Paging is normal but same grid after insert paging,will look like in file name "2.png".If we move the browser screen or press f12.i will back to normal paging design.

We tried to resize the window but even after resizing issue remain same.Please help us on this

Georgi Denchev
Telerik team
 answered on 26 Jan 2021
1 answer
553 views

I am using Kendo grid jquery option pdf export and I am noticing that it does not apply template when the paperSize is set to "auto", however when I change it to "A4" it does apply.

Can anyone guide me what is the problem with "auto" ? I have a wide grid that cuts off when I set "A4" or "A3" with the landscape mode.

Alex Hajigeorgieva
Telerik team
 answered on 26 Jan 2021
3 answers
455 views

I'm trying to customize the shape hover template and add edit and delete buttons to allow users to click like the screenshot, and these buttons must display only when the mouse hovers on the shape.

I also need to capture user's click events from these buttons, because I need to open a custom window for edit and popup a confirm dialog.

Is there a way I can do this?

Georgi
Telerik team
 answered on 26 Jan 2021
16 answers
894 views

Hi, 

I've just updated to Kendo UI v2017.1.118, and I've noticed (what I think is) a bug with the icons.

I dont know how far it goes but here is a screenshot of my menu and dropdowns. As you'll see the dropdown icons are both the up and down arrows together.

Please advise.

Thanks,
Grant

 

Ivan Danchev
Telerik team
 answered on 26 Jan 2021
1 answer
134 views

Hi, Dev Team!

Thank you for pretty nice badge. But i find something, looks like a bug.

When budge-tag have no text, it still showing.

 

I edited budge-example from basic usage, just removed some text from span

https://demos.telerik.com/kendo-ui/badge/index

Attach pic

Stoyan
Telerik team
 answered on 25 Jan 2021
6 answers
306 views
Good Morning everyone.  I have found a project that needs adjusted because the scheduler is showing blank rows.  I am very new to Kendo, so I have been looking around for a solution.  Each item is a person on the schedule for that day.  Attached is a clip of the Scheduler so you can see what I am referring to.
Aleksandar
Telerik team
 answered on 25 Jan 2021
2 answers
170 views
In Kendo UI version 2017.2.621 the filters work ?

Thank you
Oscar
Top achievements
Rank 1
 answered on 25 Jan 2021
2 answers
215 views

Hello,

How can I change shapes and connections text after adding them to the diagram?

For example, when a user creates a connection, an add event is called which contain a newly created connection object.

And I assigned text to the newly created connection object like this.

e.connection.options.content.text = "True"

 

 

 

But this text change did not apply.

Is there a way to redraw the options? after changing it? or is there any ways to change text dynamically?

Thank you!

Anton Mironov
Telerik team
 answered on 25 Jan 2021
4 answers
143 views

Hello.

There is a bug with diagram.addConnection();

I followed the sample in this page (https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram/methods/addconnection), and I'm getting an error when clicking on the connection.

I created a Dojo snippet (https://dojo.telerik.com/eluKEMOn) and you can reproduce the bug by

1. Clicking the Run button.

2. Clicking the connection that connects the shapes.

This generates an Uncaught TypeError: Cannot read property 'tools' of undefined, and this messes up the diagram.

Is there a workaround to this? I need to add connections after the diagram is initialized.

And addShape() takes both kendo.dataviz.diagram.Shape() and a plan object like this.

{
  id: "2",
  content: {
    text: "State 2"
  },
  x: 300,
  y: 20
}

But addConnection only takes kendo.dataviz.diagram.Connection().

Do you have any plans to accept a pure javascript object for addConnection()?

Attached is the screenshot of an error produced by the Dojo snippet.

Thank you!

Georgi
Telerik team
 answered on 22 Jan 2021
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?