This is a migrated thread and some comments may be shown as answers.

Cascading DropdownList in Grid Popup editor

1 Answer 585 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Prabhakar
Top achievements
Rank 1
Prabhakar asked on 10 Jan 2017, 06:01 PM

Hi,

I am trying to implement a cascading dropdownlist (Country and State) in grid popup editor on my application. Please help me to resolve the below issues,

    - Unable to set default value for Dropdown (Country) when Add new entry

    - Java Script/ Jquery is not working in popup editor for cascading dropdown based on country selection.

    - Keep disable the  dropdown (State) if the value is empty.

 

Thanks,

Prabhakar.P

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 12 Jan 2017, 12:58 PM
Hi Prabhakar,

You can set the default field values for the new records via the schema.model configuration (based on this how-to article):

http://dojo.telerik.com/iLIpu

I am not sure I fully understand issues 2) and 3). Can you please check out the example, compare it to your implementation, and apply the necessary adjustments.

The following documentation article on cascading ComboBoxes (the same principles apply for DropDownLists) in general can also prove useful:

http://docs.telerik.com/kendo-ui/controls/editors/combobox/cascading

I hope this helps, but if some of the issues remain, please send us a similar isolated runnable project where the problem can be observed, so we can inspect it further, and try to provide more to-the-point suggestions, based on the specifics of the scenario. Thank you in advance.

Regards,
Dimiter Topalov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
DropDownList
Asked by
Prabhakar
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or