How do i control null values in dropdownlist cascading?

0 Answers 66 Views
DropDownList
jayuob
Top achievements
Rank 1
jayuob asked on 17 Oct 2024, 02:48 AM

Hi,

When cascading a Kendo dropdownlist in two stages, if you select the option label of the parent dropdownlist (value is null), the child dropdownlist will not be affected.

When selecting the option label of the parent dropdownlist

(e.g., when the parent dropdownlist is a country and the child is a list of cities, the parent's option label is to select all, and the child dropdownlist is to display cities of all countries)

 in the child dropdownlist Is there a way to catch and control this?

thanks

jayuob
Top achievements
Rank 1
commented on 17 Oct 2024, 02:54 AM

What I want to do is that in the following example, when All is selected in Categories, the Products list for all cases is displayed.

https://dojo.telerik.com/PEwxOXhB

thanks

Nikolay
Telerik team
commented on 21 Oct 2024, 02:06 PM

Hello Jayuob,

A child DropDownList cascades from the parent one if the CascadeFrom option is defined. The CascadeFrom option has to point to the parent ID. In a case where the option label is selected, the option label is not associated with an ID, thus, it does not match any items from the child drop down.

This is a potential feature enhancement and you can submit a request for it at the below link:

https://feedback.telerik.com/kendo-jquery-ui

Regards,

Nikolay

 

No answers yet. Maybe you can help?

Tags
DropDownList
Asked by
jayuob
Top achievements
Rank 1
Share this question
or