Using InLine edit mode and want to move to the second column for editing

2 posts, 0 answers
  1. Larry
    Larry avatar
    11 posts
    Member since:
    Jul 2014

    Posted 26 Nov 2014 Link to this post

    I have a grid using InLine edit mode with the Command buttons Edit and Delete in column 0.   When I add a new row I need the focus to change go column 1 (0 is the buttons).   Right now the focus goes to the Update button and it takes 2 tabs to move to column 1.   How can I move focus to column 1?

    I have tried the following and it does not work.

            $('#grid').find('td').eq(0).removeClass("k-state-selected").removeClass("k-state-focused");
            $('#grid').find('td').eq(1).addClass("k-state-selected").addClass("k-state-focused").addClass("gridFieldEdit");
            $("#grid_active_cell")

    or

            var grid = $("#grid").data("kendoGrid");
            theCell = $('#grid tbody td:eq(1)');
            grid.current(theCell);

    Help!

    Thanks in advance for your help.

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2596 posts

    Posted 28 Nov 2014 Link to this post

    Hello Larry,

    Please check the following example and let me know if it helps you achieve the functionality that you are looking for:

    http://dojo.telerik.com/uMesU

    Regards,
    Kiril Nikolov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top