Display a dependent dropdown & text box in the grid while doing in-line edit

1 Answer 33 Views
DropDownButton Grid TextBox
Abhishek
Top achievements
Rank 1
Iron
Iron
Iron
Abhishek asked on 15 Nov 2023, 05:48 PM
I have a Grid with 2 columns, Country & state.  When i perform in-line edit operation, the country name should turn in to a dropdown & state name should turn in to a textbox. when i select a value from he dropdown, the state text field should auto populate the state name.  I am using key value pair for Country name

1 Answer, 1 is accepted

Sort by
0
Wissam
Telerik team
answered on 17 Nov 2023, 01:25 PM

Hi, Abhishek,

This is demonstrated in the Grid demo for inline editing with custom editors:

This approach allows you to render the DropDownButtonInput, or any other component as a custom editor. You can also check the following demo that shows how to bind the DropDownButton to a key value pair:

I hope this helps, but please let me know if you have any further questions.

Regards,
Wissam
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
DropDownButton Grid TextBox
Asked by
Abhishek
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Wissam
Telerik team
Share this question
or