Hi,
I am seeing error with Kendo Editor : Uncaught TypeError: Cannot use 'in' operator to search for 'getSelection' in undefined. Editor loads and render fine. When text value is changed or updated in the editor in edit mode and then if I click outside of editor , js error is shown right away. Have tried calling refresh() on change event, that still gives me same error. If I call refresh on editor select event, it prevents the error, but won't let user type due to focus. Will have to click and hold the mouse down while typing to not lose focus instantly to use refresh method.
Browser: Chrome.
onEditorSelect: function (e) {
var editor = e.sender.element.closest('[data-role="editor"]').data('kendoEditor');
editor.refresh();
}
onEditorChange: function (e) {
var test = $(".page-editor").find("[data-role=editor]").data("kendoEditor");
test.refresh();
}
Stack Trace/Error
kendo.all.js:75062 Uncaught TypeError: Cannot use 'in' operator to search for 'getSelection' in undefined
at Object.selectionFromWindow (kendo.all.js:75062)
at Object.selectionFromDocument (kendo.all.js:75075)
at init.getSelection (kendo.all.js:73878)
at init.getRange (kendo.all.js:73886)
at init.refreshTools (kendo.all.js:76998)
at init.value (kendo.all.js:73799)
at init.refresh (kendo.all.js:9960)
at init.<
anonymous
> (kendo.all.js:9070)
at init.trigger (kendo.all.js:192)
at init.change (kendo.all.js:8900)
View
<
div
class
=
"page-editor"
data-bind
=
"visible: TestCheck"
>
<
textarea
data-role
=
"editor"
class
=
"editor"
id
=
"TestEditor"
style
=
"height: 100px;"
data-tools="['bold',
'italic'']"
data-bind="value: Text,
events: {
select: onEditorSelect,
select: onEditorChange
}">
</
textarea
>
</
div
>
Hi,
I need to know if using Telerik for jQuery controls I can make a specific kind of a flow chart. I need to have a list with order (sortable control would be good for this I quess), but also every element in this list should be able to connect with another one and store the information which one is connected to which (one-way) with option to filter out the ones that cannot be connected. I hope it's not too confusing ;P
Regards
Hello,
After the last release (Kendo UI R2 2020 SP1) an issue occurred related with columns "menu" option, the case is if when a column have menu set to false, then you try to hide / show other columns from column menu , it keeps the index of column that have menu to false and shows or hides wrong column.
Please find attached a GIF image representing the issue, also here is a link with code snipped https://dojo.telerik.com/@fedrosa/IquNEFAH
Thank you
Hi
I have a multi selft dropdown list in mvvm.
to make the choices selected a little bit smaller I wiuld like to remove the x delete cross. Attached pic shows what i mean.
Is it through css or a setting?
Any help wil be appreciated.
Gary
Dear Sir/Madam,
I have a transposed Kendo grid on a page (as described here) where I am trying to mimic the Kendo grid's popup editor using a Form inside a Kendo Window. Clicking an edit button causes a window to be created along with its contained form. This works as expected on the first click since I see the values of the object passed in via the formData property appearing on the form. Submitting the form closes the window and attempts to destroy the form so it can be recreated on subsequent requests to edit the underlying object. Clicking the same edit button a second time should display the same form with its fields populated as the first time. For some reason this is not happening; the fields of the form are blank.
I've replicated the scenario in the following dojo: https://dojo.telerik.com/UsIQijOG
Steps to reproduce:
Any assistance would be much appreciated. Thank you in advance.
Herrick
Please see this sample code I have, I am trying to reload data from a remote server into the spreadsheet with every click of the button.
The issue is after clicking the search button a second time to fetch new data, the spreadsheet is appended with a new one.
What is the proper way to reload data into the spreadsheet?
Link to sample code
https://dojo.telerik.com/ewigOKam
In the change event, is there any way to get the underlying data item of the selected node?
For a treeview control we can get the data item with something like this in the select event:
var dataItem = myTree.dataItem(e.node);
However, there's no "node" attribute in the change event for DropDownTree.
How do we do this?