Dropdownlist width

2 posts, 1 answers
  1. Sam
    Sam avatar
    10 posts
    Member since:
    Dec 2017

    Posted 07 May 2020 Link to this post

    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

  2. Answer
    Stefan
    Admin
    Stefan avatar
    3034 posts

    Posted 07 May 2020 Link to this post

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