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

Dropdownlist in Kendo Grid

5 Answers 114 Views
Telerik Trainer
This is a migrated thread and some comments may be shown as answers.
Manisha
Top achievements
Rank 1
Manisha asked on 13 Mar 2014, 06:55 AM
How can I bind a dropdownlist in a kendo grid column which is dependent on the id of that row of the grid. For example the image below shows my requirement. Based on the category of that row the dropdown has to be populated.


5 Answers, 1 is accepted

Sort by
0
Anand
Top achievements
Rank 1
answered on 28 Feb 2015, 12:09 PM
I have a kendo mvc grid .I would like to add dropdown and 4 checkbox in a single column  it can be editable also
I did with editortemplate to add dropdwon
But i can't add four checkbox

Please reply
0
Anand
Top achievements
Rank 1
answered on 28 Feb 2015, 12:09 PM
I have a kendo mvc grid .I would like to add 4 checkbox in a single column  it can be editable also

Dropdown template with editable also added

Not able to 4 checkbox Please reply
0
Petur Subev
Telerik team
answered on 05 Mar 2015, 07:15 AM
Hello Manisha,

You can add checkboxes the samy way you added the DropDownList you just need to append them to the container.

http://dojo.telerik.com/@pesho/ovoqo

Kind Regards,
Petur Subev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Anand
Top achievements
Rank 1
answered on 05 Mar 2015, 01:46 PM
I need bind 4 checkbox so i bind using a array It is not working in edit template ,it is loading only one checkbox

Can you please provide any sample in asp.net mvc kendogrid with 4 checkbox and editable
0
Petur Subev
Telerik team
answered on 10 Mar 2015, 09:04 AM
Hello Manisha,

If you have customized your editor template like shown here, you should be able to display 4 checkboxes:

http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/editor-templates

You can then add the checked binding to the checkboxes:

http://docs.telerik.com/kendo-ui/framework/mvvm/bindings/checked

I attached a sample project which uses the idea covered above.

I hope this helps.

Kind Regards,
Petur Subev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Telerik Trainer
Asked by
Manisha
Top achievements
Rank 1
Answers by
Anand
Top achievements
Rank 1
Petur Subev
Telerik team
Share this question
or