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

2 posts, 0 answers
  1. Greg
    Greg avatar
    4 posts
    Member since:
    Sep 2015

    Posted 08 Dec 2015 Link to this post

    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

     

     

  2. Greg
    Greg avatar
    4 posts
    Member since:
    Sep 2015

    Posted 09 Dec 2015 in reply to Greg Link to this post

    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

  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top