Completed
Last Updated: 13 Jan 2020 09:20 by ADMIN
Release R1 2020
Mike
Created on: 25 Jun 2019 10:46
Category: DropDownTree
Type: Bug Report
0
Unexpected change event triggering when using value() method of remote datasource DropDownTree with checkboxes and autoBind false

Bug report

Unexpected change event triggering when using value() method of remote datasource DropDownTree with checkboxes and autoBind false

Reproduction of the problem

  1. Run the following Dojo
  2. Click on Load button to set the value of the Child item

Current behavior

Script runs through datasource read else, then through datasource read if and then DropDownTree's change event is fired.

NOTE: if there is no setTimeout or if the two nodes are loaded at the same time with no if else clause, then the issue is not reproducible.

Expected/desired behavior

DropDownTree's change event is not fired, when value() method is called.

Environment

  • Kendo UI version: 2019.2.619
  • Browser: [all]

Similar fixed issue: #4352

2 comments
ADMIN
Veselin Tsvetanov
Posted on: 02 Jul 2019 07:33
Hello,

The change event will also be triggered upon data rebinding if a value is already selected in the widget. A Dojo demonstrating the issue could be found here: https://dojo.telerik.com/oroSEZUQ/4

Regards,
Veselin Tsvetanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Mike
Posted on: 01 Jul 2019 12:29
The if else and timeout are only there to simulate ajax calls to retrieve the next layer of data from the hierarchy.