Dropdown in In-cell batch Editing Grid

4 posts, 0 answers
  1. J
    J avatar
    6 posts
    Member since:
    Apr 2017

    Posted 06 Oct Link to this post

    Hello, 

    I'm using Grid Batch Editing (http://demos.telerik.com/aspnet-core/grid/editing) and I have 2 questions actually: 

    1) Is it somehow possible to allow dropdown buttons when editing records?

    2) I have a nullable bool field and when I set it to "Not Set" (null), it will store the value as "false". Is this normal behaviour?

     

    Thanks!

     

     

  2. Stefan
    Admin
    Stefan avatar
    1153 posts

    Posted 11 Oct Link to this post

    Hello,

    Regarding the questions:

    1) The DropDown edit can be used in the Grid. We have a demo which is demonstrating this:

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

    More details can be found here:

    https://docs.telerik.com/aspnet-mvc/helpers/grid/templating/editor-templates

    The examples are for MVC 5, but the same approach can be achieved in MVC.Core.

    2) I can suggest checking our example on a similar subject:

    https://docs.telerik.com/aspnet-mvc/helpers/grid/how-to/editing/grid-inline-editing-of-nullable-boolean

    I hope this is helpful.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. J
    J avatar
    6 posts
    Member since:
    Apr 2017

    Posted 11 Oct in reply to Stefan Link to this post

    Stefan, thanks for your reply, but are you sure this works for ASP.NET Core as well? 
  4. Stefan
    Admin
    Stefan avatar
    1153 posts

    Posted 16 Oct Link to this post

    Hello,

    It is working on our end.

    If the suggested approach is throwing an error on your side, please provide more details or a fully runnable example and I will gladly assist.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top