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

[Solved] Trouble with in-cell and in-line modes

1 Answer 21 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 1
John asked on 07 Sep 2011, 04:25 PM
Hello,

    I'm having the following issues with both in-cell and in-line modes:

In-Cell:

    I.  Hitting TAB moves to the next field, which is great, but you have to hit <ENTER> in order to edit the cell content.  Is there another way that TAB would give the cell focus?

    2.  Tabbing off a row tabs out of the grid and who knows where.  Can't it go to the next line?

In Line

   1.  Posting back row data only posts for the visible fields, not the entire object if it had hidden cells.
   2.  It also returns some other data object, not the one we originally bound the grid to.

    Any answers would be greatly appreciated since we may have to replace this product....soon.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 08 Sep 2011, 09:39 AM
Hello John,

Straight to the questions:
 - InCell - edit cell on TAB is currently not supported. There is no easy way to achieve this. When cell isn't edited the TAB press is not handled and the focus is moved based on tab index. We have plans to introduce an options in the keyboard navigation that will change TAB behavior in a way you describe it.

- InLine - Grid is creating an editor for each column. As a result only the properties which are displayed as columns are editable.

In in-forms or pop-up mode Telerik Grid for ASP.NET MVC is creating an editor for the bound object (using Html.EditorFor<T>). As a result all editable properties of the bound object are displayed in the edit form. This behavior differs from in-line mode where only the bound properties (properties for which a column is defined) are editable.

You can find more details on the link bellow:
http://www.telerik.com/help/aspnet-mvc/telerik-ui-components-grid-editing-configuration.html#EditingMode

Regards,
Nikolay
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or