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

.Navigatable() option doesn't work with Batch Edit Mode & Foreign Keys

1 Answer 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 09 Dec 2015, 03:59 AM

Hi Guys,

 I have a grid that uses batch editing (GridEditMode.InCell).

This grid also uses a few Foreign Key columns.

 If I use the .Navigatable() option, I can tab through the cells, but the foreign key columns don't show up as pick list anymore but as integer.

I believe the following example would have the same issue if it had a foreign key column. 

http://demos.telerik.com/aspnet-mvc/grid/editing

is this a bug with MVC Grid or am I missing an option ?

Cheers,

Greg

 

 

1 Answer, 1 is accepted

Sort by
0
Greg
Top achievements
Rank 1
answered on 10 Dec 2015, 03:05 AM

Hi Guys,

 The Telerik Demo example works fine and is tab-able even with foreign key columns.

My issue is now solved and came from the following:

- In my view Model, I was using the annotation [UIHint("GridForeignKey")] for foreign key columns which is not needed in Batch Edit Mode but in Pop up Mode.

- I had a custom pick list where I manually reorder the pick list based on a logic, some javascript code was not working when tabing into the cell

Cheers,

Greg

Tags
Grid
Asked by
Greg
Top achievements
Rank 1
Answers by
Greg
Top achievements
Rank 1
Share this question
or