multiple checkboxes in a Column

2 posts, 0 answers
  1. Marin
    Marin avatar
    1057 posts

    Posted 07 Jun 2016 Link to this post


    You can have multiple checkboxes in a column by defining them in a template or clientTemplate. Dynamically adding checkboxes in the template however is not supported out of the box by the grid and you may need some additional code in order to handle this.
    A suitable approach might be to handle some event fired after a new role has been added - depending on how this happens (e.g. button click, or through some kendo widget).
    Then you can iterate over the grid's rows and dynamically add more checkboxes using jquery. Here is a sample approach showing how to add a checkbox to the first cell of each row:
    function gridDataBound(e) {
            $(this.tbody).find("tr").each(function () {
                $(this.cells[0]).append('<input type="checkbox" name="myCheckbox" />');

    I hope this helps. Let me know if you have any other questions.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  2. Mujibur
    Mujibur avatar
    1 posts
    Member since:
    Apr 2016

    Posted 08 Jun 2016 Link to this post

    I am working on Kendo UI Grid.  I have requirement where role will added dynamically.  So in a single column there should be multiple checkbox. Is there is any way to fix it.
Back to Top