Unplanned
Last Updated: 07 Jun 2022 07:38 by ADMIN
Christopher
Created on: 31 May 2022 12:28
Category: UI for ASP.NET Core
Type: Feature Request
0
Conditional Cascading for dropdowns and combo boxes
I would like the CascadeFrom value to be conditional based on a value obtained through JavaScript/JQuery.  This way it allows for web pages to be more dynamic.
1 comment
ADMIN
Aleksandar
Posted on: 07 Jun 2022 07:38

Hello Christopher,

Thank you for logging this feature request. We will monitor the community interest in such a feature and consider it for implementation in a future release.

Currently, if this functionality is mandatory for you I can suggest obtaining the options of the DropDownList/Compobox, updating the cascadeFrom to the desired parent and destroying and re-initializing the component with the new options:

function changeParent(){
    var ddl = $("#child").getKendoDropDownList();
    var options = ddl.options;
    options.cascadeFrom = "parent2";
    ddl.destroy();
    $("#child").kendoDropDownList(options);
  }
Here is a sample dojo.

Regards,
Aleksandar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.