Unplanned
Last Updated: 16 Oct 2023 22:13 by Nathan

Context:

  1. Load on demand enabled
  2. Check Children is set true
  3. Remote api call to load data.
  4. Attached sample code is using kendo services.

 

Issue or Scenario:

When you select the top node or checkbox, it shows 1 item(s) selected. However, when you expand and deselect child nodes or checboxes, the single tag message will removed and blank field is present.

please find below code and attached gif file, these files will give you clear understanding on the issue with dropdowntree.

<!--BELOW IS THE CODE SAMPLE ON THIS BUG -->

<!DOCTYPE html>
<html>
<head>
    <base href="https://demos.telerik.com/kendo-ui/dropdowntree/remote-data-binding">
    <style>html { font-size: 14px; font-family: Arial, Helvetica, sans-serif; }</style>
    <title></title>
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.2.514/styles/kendo.common-material.min.css" />
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.2.514/styles/kendo.material.min.css" />
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.2.514/styles/kendo.material.mobile.min.css" />

    <script src="https://kendo.cdn.telerik.com/2019.2.514/js/jquery.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2019.2.514/js/kendo.all.min.js"></script>


</head>
<body>
        <div id="example">
            <div class="demo-section k-content">
                <input id="dropdowntree" style="width: 100%;" />
            </div>
            <script>
                var serviceRoot = "https://demos.telerik.com/kendo-ui/service";
                    homogeneous = new kendo.data.HierarchicalDataSource({
                        transport: {
                            read: {
                                url: serviceRoot + "/Employees",
                                dataType: "jsonp"
                            }
                        },
                        schema: {
                            model: {
                                id: "EmployeeId",
                                hasChildren: "HasEmployees"
                            }
                        }
                    });

                $("#dropdowntree").kendoDropDownTree({
                    placeholder: "Select ...",
                    dataSource: homogeneous,
                    height: "auto",
                   checkboxes: { checkChildren: true },
                    dataTextField: "FullName",
                   clearButton: true,
            checkAll: false,
            autoClose: false,
            tagMode: "single",
                   loadOnDemand: true
                });
            </script>
        </div>


</body>
</html>

    
Unplanned
Last Updated: 01 Dec 2022 16:51 by Bill

Bug report

If the DropDownTree is configured without checkboxes (single selection), the X button shouldn't be present.

Reproduction of the problem

  1. Open this demo - https://demos.telerik.com/kendo-ui/dropdowntree/index
  2. Select an item from the DropDownTree

Current behavior

The clear button appears

Expected/desired behavior

The clear button shouldn't be present.

Environment

  • Kendo UI version: 2022.3.1109
  • Browser: [all]
Unplanned
Last Updated: 13 Sep 2022 17:21 by Boris
Created by: Nasser
Comments: 6
Category: DropDownTree
Type: Feature Request
12
Implement server filtering for the DropDownTree.
Unplanned
Last Updated: 05 Apr 2022 21:01 by gjb
Created by: gjb
Comments: 0
Category: DropDownTree
Type: Feature Request
2
The dropdown tree is very useful. 

I have a suggestion to improve this, which would be highly appreciated by my customers:

Add a suggest possibility, the same as the suggest possibility that already is available on the combobox.

People start to type in the search box, most of time finding the one option they need, than they first have to select the option (mouse or arrows, plus enter). It would be nice if the result (when it is one result) is already selected and they should have only to press enter.
Unplanned
Last Updated: 28 Sep 2021 11:52 by Mikael
Created by: Mikael
Comments: 0
Category: DropDownTree
Type: Bug Report
1

Bug report

The DropDownTree validation error message appears when the widget gets opened. The message appears before the user is able to select an item. The behavior is not consistent with the validation of the rest of the widgets, such as DropDownList, for example.

Reproduction of the problem

  1. Open the Dojo example
  2. Expand the DropDownTree

Scenario 2: DropDownTree in a Form - Dojo

Current behavior

The DropDownTree is validated on open, thus it is marked as invalid before the user has the possibility to select an item.

Expected/desired behavior

The validation of the DropDownList should be consistent with the rest of the widgets. It should be validated when it is focused out

Environment

  • Kendo UI version: 2021.3.914
  • Browser: [all ]
Unplanned
Last Updated: 28 Apr 2021 09:18 by Derek
Created by: Derek
Comments: 0
Category: DropDownTree
Type: Bug Report
1

Bug report

The DropDownTree's refresh API method re-renders only the noDataTemplate and the footerTemplate. The nodes are not re-rendered.

Reproduction of the problem

Current behavior

Only the noDataTemplate and the footerTemplate are re-rendered.

Expected/desired behavior

The method should also re-render the nodes, similarly to the DropDownList's refresh method, which re-renders its items.

Environment

  • Kendo UI version: 2021.1.330
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 05 Mar 2021 09:39 by ADMIN
Currently the scenario where both filtering and checkboxes.checkChildren are enabled is not supported. This is a very useful feature especially when the dropdown list is long.
Unplanned
Last Updated: 30 Jun 2020 10:27 by ADMIN

Please Implement Cleaner "Fully Loaded" Event Instead of Multiple onDataBound Checks as per recommended per this approach:  https://docs.telerik.com/kendo-ui/knowledge-base/dropdowntree-fully-loaded

That works fine, but if I have multiple DropDownTree elements on the page, this is a lot of extraneous code. Could this not be encapsulated within the library with a true event?

Perhaps it could be something like "contentLoaded" or "treeeInitialized". 

 

In my case I would then use it to fulfill a Promise or other actions.

Unplanned
Last Updated: 08 Jun 2020 06:05 by ADMIN
Created by: Saravanamanikandan
Comments: 1
Category: DropDownTree
Type: Bug Report
0

Hello Team,

 

Please refer this DoJo - http://dojo.telerik.com/@SaravanaMS/utINiRUq

We have a dropdowntree component added in a grid and when we collapse the dropdowntree options - dropdowm box stays at top.

 

Steps to reproduce - 

1. open all options from top to bottom 

2. collapse the option from bottom to top

3. once the top option is collapsed - dropdown box stays at top

Unplanned
Last Updated: 25 Feb 2020 13:20 by ADMIN
Allow other widgets to cascade from the DropDownTree through the cascadeFrom option.
Unplanned
Last Updated: 03 Feb 2020 08:59 by ADMIN

It would be nice to have the functionality to dynamically switch tagNodes, this feature would help sort out the issue of expanding the dropdown if many selections have been made .i.e.

It should show like the image below instead

It would also be great to add the feature to auto-select the parent's children and their sub children if the parent is checked.

The workaround for these issues is available on  this dojo

Unplanned
Last Updated: 20 Dec 2019 11:53 by ADMIN
Created by: Samuel
Comments: 1
Category: DropDownTree
Type: Feature Request
4

I use the below template to render nodes (so that root nodes do not have a checkbox), but when I click checkAll button the root node(s) content are also displayed as selected

 

You should provide an event to custom handle this behavior and ignore nodes unselectable

 .Checkboxes(setting => setting
                                                .CheckChildren(true)
                                                .Template("# if (item.level() > 0) { #" +
                                                            "<input type='checkbox' #= item.checked ? 'checked' : '' #>" +
                                                            "# item.text = item.SymptomName #" +
                                                            "#}else{#" +
                                                                "# item.text = item.LocationName #" +
                                                            "#}#"
                                                )
                                )

 

Keep up the awesome work !