Dropdownlist in Kendo Grid

6 posts, 0 answers
  1. Manisha
    Manisha avatar
    1 posts
    Member since:
    Mar 2014

    Posted 13 Mar 2014 Link to this post

    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.


  2. Anand
    Anand avatar
    13 posts
    Member since:
    Apr 2011

    Posted 28 Feb 2015 Link to this post

    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
  3. Anand
    Anand avatar
    13 posts
    Member since:
    Apr 2011

    Posted 28 Feb 2015 Link to this post

    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
  4. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 05 Mar 2015 Link to this post

    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!
     
  5. Anand
    Anand avatar
    13 posts
    Member since:
    Apr 2011

    Posted 05 Mar 2015 in reply to Petur Subev Link to this post

    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
  6. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 10 Mar 2015 Link to this post

    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!
     
Back to Top