This is a migrated thread and some comments may be shown as answers.

Dropdownlist width

1 Answer 914 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Veteran
Sam asked on 07 May 2020, 11:48 AM

Hi,

 

I've got a dropdown list but the items in that list are wider than the default value. I'm using itemRender and valueRender to change them.

Is there a way to change the k-list-container width, can I add my own class to the popup or specify a width directly to this?

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 07 May 2020, 02:00 PM

Hello, Sam,

Both the specific width or a className can be applied to the list using the popupSettings property:

https://www.telerik.com/kendo-react-ui/components/dropdowns/api/DropDownListProps/#toc-popupsettings

Available settings are:

https://www.telerik.com/kendo-react-ui/components/dropdowns/api/DropDownsPopupSettings/

I hope this is helpful.

Regards,
Stefan
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Sam
Top achievements
Rank 1
Veteran
Answers by
Stefan
Telerik team
Share this question
or