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!"); })
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
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.
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?
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
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
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!
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!