Grid / ForeignKey column (conditional drop down list)

2 posts, 0 answers
  1. Ciprian
    Ciprian avatar
    1 posts
    Member since:
    Jun 2017

    Posted 26 Oct 2017 Link to this post

    Hi,

    We are looking to implement a grid. We have the dropdown element working, but we need the contents of it to be driven by another field in the grid.

    Eg a "Type" would yield a list of "SubTypes" based on the "Type" selected.

     

    An existing row would only show "SubTypes" based on the "Type" set, whilst with an addition, the "Type" would be required first, then the "SubType".

     

    Is this functionality possible?

     

    Thank you,

    Ciprian

  2. Stefan
    Admin
    Stefan avatar
    2880 posts

    Posted 30 Oct 2017 Link to this post

    Hello, Ciprian,

    The described behavior sounds like cascading dropdowns, where the second dropdown will depend on the value of the first.

    If this is correct, I can suggest checking the following examples:

    https://docs.telerik.com/aspnet-mvc/helpers/grid/how-to/editing/grid-editing-cascading-dropdownlist

    https://docs.telerik.com/aspnet-mvc/helpers/grid/how-to/editing/grid-incell-editing-cascading-dropdownlist

    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.
Back to Top