Setting editable to inline doesn't enter Edit Mode automatically. Plus problem with Tab out of modified cell.

3 posts, 0 answers
  1. Jerry T.
    Jerry T. avatar
    118 posts
    Member since:
    Jul 2012

    Posted 30 May 2012 Link to this post

    Here's my grid configuration:

                    selectable: "row",
                    scrollable: true,
                    pageable: false,
                    sortable: true,
                    filterable: false,
                    rowTemplate: kendo.template($("#gridItemsRowTemplate").html()),
                    dataSource: {
                        data: data
                    columns: columns,
                    editable: "inline",
                    toolbar: ["create", "save", "cancel"],
                    navigatable: true

    I've had to add the following code in order to get my grid into edit mode:

                $("#gridItems td").click(function() {
                    if (!$(this).closest('tr').hasClass('k-grid-edit-row')) {

                        // remove spinner controls from numeric textboxes
                        var numericWrapper = $("#gridItems td").find(".k-numeric-wrap")


    BUT, once it is in edit mode after I click on a row, if I type a new value into a cell and press Tab, the grid leaves edit mode and I can't get it back into edit mode.


  2. Alexander Valchev
    Alexander Valchev avatar
    2887 posts

    Posted 01 Jun 2012 Link to this post

    Hi Jerry,

    I have already replied on your support ticket on the same subject. For convenience I am pasting my reply here too.

    I tried to reproduce your case in this Fiddle, but to no avail. Could you check my example and let me know what I missing? Reproducing the problem in a sample page will be also appreciated.

    As an assumption, this behaviour might be caused by the missing dataSource model. Please try to define the model id and fields and let me know if the problem still persists. In addition, it is a bit unclear which editing mode you would like to use. You have set the toolbar commands in a way suitable for batch editing while in the grid options the editable is set to "inline". 

    Kind regards,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Jerry T.
    Jerry T. avatar
    118 posts
    Member since:
    Jul 2012

    Posted 01 Jun 2012 Link to this post

    I did have a model assigned to the scheme for the datasource...I just neglected to include that here.  But, I've replied to the ticket so we can focus on there for now.
Back to Top