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

Kendo Gird Dropdown List Column

1 Answer 12 Views
Map
This is a migrated thread and some comments may be shown as answers.
Harigopal
Top achievements
Rank 1
Harigopal asked on 23 Mar 2017, 04:52 AM

Hello,

Can you please help us with detail explanation and full steps how to implement drop down list column in Kendo grid that should work when we add new record and also  when we edit existing record.

can you please respond ASAP.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 24 Mar 2017, 12:58 PM
Hello Harigopal,

The DropDown can be used in the Grid with its column.editor property:

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.editor

We also have a runnable example demonstrating this:

http://demos.telerik.com/kendo-ui/grid/editing-custom

The example demonstrates the implementation, and also the response can be observed in the network tab.

Important details:

1) Make a function which will create the DropDown editor.
2) Set the function to the column.editor property.
3) Set default value to the model.

All of these are demonstrated in the provided example. 

Regards,
Stefan
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 (charts) and form elements.
Tags
Map
Asked by
Harigopal
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or