This is a migrated thread and some comments may be shown as answers.

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

1 Answer 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Larry
Top achievements
Rank 1
Larry asked on 26 Nov 2014, 07:19 PM
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.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 28 Nov 2014, 09:29 AM
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.

 
Tags
Grid
Asked by
Larry
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or