kendo mvc grid checkbox submit

4 posts, 0 answers
  1. Dayana Maliyakal
    Dayana Maliyakal avatar
    27 posts
    Member since:
    Jan 2010

    Posted 17 Jun 2014 Link to this post


    I have a Kendo mvc grid  with checkbox as first column.How to pass checkbox checked rows from view to controller on button click?
    Multiple rows should be selected.

    With regards
  2. Thomas
    Thomas avatar
    1 posts
    Member since:
    Nov 2014

    Posted 25 Nov 2014 in reply to Dayana Maliyakal Link to this post

    Kendo mvc grid Check box submit please find below code :

    .Editable(x => x.Mode(GridEditMode.InCell))
    .DataSource(ds => ds.Ajax()
    .Events(events => events.Error("error"))
    .Model(model => model.Id(p => p.Id))
    .Read(read => read.Action("Orders", "Order").Data("formattedParameters"))))

  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

    Please reply
  4. Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 05 Mar 2015 Link to this post

    Hello Anand,

    Please do not open multiple tickets on the same subject.

    Adding checkboxes to the editor is done the same way you specify custom editor. You just append them to the container:

    To bind those checkboxes to a field which is of type array you can try and use the checked binding.

    Everything inside the container is bound (kendo.bind(container, model) to the model when the Grid enters edit mode.

    Kind Regards,
    Petur Subev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top