Change width of Kendo DropDownList dynamicly

2 posts, 1 answers
  1. Daochuen
    Daochuen avatar
    5 posts
    Member since:
    Sep 2017

    Posted 08 Nov 2017 Link to this post

     Is anyone know the way to change width of Kendo DropDownList dynamically by JavaScript (without use bootstrap.css)
  2. Answer
    Neli avatar
    221 posts

    Posted 09 Nov 2017 Link to this post


    In order to change the width of a DropDownList, you could use the following selector and apply the needed style.
    $('.k-widget.k-dropdown').css('width', '500px');

    Here you may find a Dojo example, where the width of a DropDownList is changed on a button click.

    Please contact us, in case you need further assistance.

    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