Dropdownlist not resizing when grid is resized.

3 posts, 0 answers
  1. Alex
    Alex avatar
    2 posts
    Member since:
    Nov 2019

    Posted 07 Nov 2019 Link to this post

    I have a couple of Dropdownlist in columns of a grid, when the page is resized the DDLs are not being resized accordingly.

    How can I hook them into the column width on the resize.

    This is kind of a follow-up to this one:

    https://www.telerik.com/forums/dropdownlist-in-a-non-editable-grid

     

    Thanks

  2. Preslav
    Admin
    Preslav avatar
    591 posts

    Posted 11 Nov 2019 Link to this post

    Hello Alex,

    To achieve the desired outcome, add the following CSS to the page:

    <style>
        .k-grid td > .k-dropdown {
            width: 100%;
        }
    </style>

    Please, give this a try, and let me know if the above works for you.

     

    Regards,
    Preslav
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Alex
    Alex avatar
    2 posts
    Member since:
    Nov 2019

    Posted 14 Nov 2019 in reply to Preslav Link to this post

    Perfect.

     

    Thank you

Back to Top