This is a migrated thread and some comments may be shown as answers.
Dropdownlist not resizing when grid is resized.
2 Answers 4 Views
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 07 Nov 2019, 11:06 PM

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 Answers, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 11 Nov 2019, 03:16 PM

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.
0
Alex
Top achievements
Rank 1
answered on 14 Nov 2019, 08:24 PM

Perfect.

 

Thank you

Tags
Grid
Asked by
Alex
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Alex
Top achievements
Rank 1
Share this question
or