

Hey
I found a DropDownList Cascading BUG.
HERE WE GO
Reintroduce steps:
.First, jump to DropDownList Cascading Dojo Sample from Kendo UI documentation site:
Dojo link in "Kendo UI for jQuery > DropDownList.cascadeFrom".
cascadeFrom
https://docs.telerik.com/kendo-ui/api/javascript/ui/dropdownlist/configuration/cascadefrom
Open in Dojo (Kendo UI 2020.3.915)
https://dojo.telerik.com/aVEteTEz
.Second, change the dojo sample code as below:
1.Replace "input id=child" to "select id=child" :
<input id="child" />
-->
<select id="child" style="width: 100%;" >
<option>S - 6 3/4"</option>
<option>M - 7 1/4"</option>
<option>L - 7 1/8"</option>
<option>XL - 7 5/8"</option>
</select>
2.Add the optionLabel into "parent" and "child" BOTH :
$("#parent").kendoDropDownList({
$("#child").kendoDropDownList({
-->
$("#parent").kendoDropDownList({
optionLabel: "Bug1 here XD",
$("#child").kendoDropDownList({
optionLabel: "Bug2 here XD",
3.Add code snippet to show the "parent" and "child" before </body> :
</body>
-->
<script>
function callIt(id)
{
var dropdownlist = $("#" + id).data("kendoDropDownList");
var value, text;
var selectedIndex;
//
value = dropdownlist.value();
text = dropdownlist.text();
selectedIndex = dropdownlist.select();
alert(id + "'s index = " + selectedIndex + ", value = '" + value + "', text = '" + text + "' ;D");
}
</script>
<br/>
<input type="button" value="parent click" onclick="callIt('parent')" />
<input type="button" value="child click" onclick="callIt('child')" />
</body>
--
Run then first click the 'child click' button, you'll see the wrong result.
--
RESULT
Click parent, child button will show the result.
.parent
(parent's index = 0, value = '', text = 'Bug1 here XD' ;D)
(parent got the correct value)
.child
(child's index = 0, value = 'S - 6 3/4"', text = 'Bug2 here XD' ;D)
(child got the wrong value from <select> element before change the parent)
FUNNY ;D child.select() got the correct index, BUT child.value() got the wrong value.
The main reason is the optionLabel property both of parent/child before change the parent.
I think the ComboBox/DropDownList should check the selected index then return the correct value.
Both Kendo UI 2017.2.621, 2020.3.915 have the same bug.
Browser: Chrome 85.0.4183.83 (32 bit).
OS : Windows 10.
Best regards
Chris
Hello,
Is there any kind of exporting gantt other than PDF, such as excel, visio, etc?
Thanks in advance.
Hi,
As my title suggests, the events I'm initially loading into my scheduler (from a remote DS) do not fit into the cells.
On initial page load, the scheduler is created and the view
defaults to "month". Then, upon reading data (manually via scheduler.dataSource.read()) from the remote source,
the events overflow the grid cells (which are set to auto height and with overflow).
If I change the view from the default "month" view
to a "week" view the events render correctly (fitting them within the
grid cells), and then upon changing back to the month view, the events fit the
grid cells correctly. Refreshing the page causes the events to overflow again.
I have tried using scheduler.refresh() with no avail.
Please see attached image.
Thanks,
Grant
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 undefinedat 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
