How to make grid edit functionality working with tab click

1 Answer 238 Views
Accessibility DropDownList Editor Filter Form General Discussions Grid ListBox MaskedTextBox PivotGrid TextBox
Kunal
Top achievements
Rank 1
Kunal asked on 19 Dec 2022, 03:44 PM | edited on 19 Dec 2022, 06:18 PM

Hi

We are having a grid with editable field option which triggers when you click on the field.

I wanted to enable tab functionality so that if you are on any field and click tab it should make the next field enable/editable.

When I am clicking on any field to show like this. On tab press I wanted make Charlotte editable.

ANY help appreciated. Thanks!

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 22 Dec 2022, 07:09 AM

Hello Kunal,

This would be the default behavior of a Grid with InCell editing and navigation enabled. In the Batch Editing Demo for the Grid keyboard navigation is enabled and when a cell enters edit mode an the user presses the Tab key navigation to the next cell will occur and it will enter edit mode, as you can see in this screencast.

@(Html.Kendo().Grid<Kendo.Mvc.Examples.Models.ProductViewModel>()
    .Name("Grid")
    .Editable(editable => editable.Mode(GridEditMode.InCell))
    .Navigatable()
    //additional configuration options
)

For available keyboard shortcuts you can refer to the Keyboard Navigation Demo and the section below it, where the available key combinations are listed.

If that's not helpful consider sharing the Grid definition you have and the version of Telerik UI for ASP.NET Core used. Providing a runnable example, or a REPL example, would be helpful in providing a better suggestion on handling the case.

Regards,
Aleksandar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Kunal
Top achievements
Rank 1
commented on 23 Dec 2022, 08:08 PM

Thanks Aleksandar this is what I have been looking for.
Tags
Accessibility DropDownList Editor Filter Form General Discussions Grid ListBox MaskedTextBox PivotGrid TextBox
Asked by
Kunal
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Share this question
or